Address comments by @stdweird in https://github.com/quattor/ncm-cdispd/pull/9
and miscellaneous other cleanups.

This includes a change in how a missing 'active' property is the old profile is
handled (status marked as changed rather than unchanged to give a chance to fix
the problem with new profile).