This adds the initial framework for viewing and managing profiles.
At this point, only the viewing of profiles is tested.
Because I make some changes to some of the objects used in Cert
enrollment, some of the current tests involving enrollment may fail
if they use pre-generated XML.
Still, this patch is getting quite large and its time to get some eyes
on it.
The next patches will add the CLI code to view profiles and then to
add/edit profiles. Following that, will be patches to clean up all the
TODOs - like adding the relevant exceptions and auditing.
Ade