Some basic cleanups to profile parsing and extend the parser to add the ability to name profiles. This does not require a change to the kernel and is supported by the apparmor 2.5, and 2.5.1 kernels.