Store created principal id for use by User and Group

Principal ids should be the same as their associated user or
group id, so save the id of newly created principals in the
RT::User and RT::Group PreInflate calls to be used when the
user or group record is created.
Merge branch '4.2/serializer-set-user-group-id-from-principal' into 4.2-trunk