Please review and provide an ACK for the attached patch.

This patch attempts to continue implementation of the PKI Deployment Framework based upon the revised filesystem layout documented here:
The following patch adds/corrects functionality of the existing PKI Deployment Framework including (but not limited to):
After being installed, this code can be tested by running the following command-line examples (as 'root' or 'sudo'):

This code ONLY affects the un-released 'pki-deploy' package, so check-in of these changes should not harm the existing source in any way.

NOTE:  After receiving an ACK for these changes, I will update my horribly out-of-date working repo located at:

Thanks in advance,
-- Matt