print function for principal, principal.modify

dates are converted to iso8601 strings for printing the principal.

principals can now call “modify” to set multiple attributes and auto
commit the changes to the database all at once.

mod_name now properly includes the realm of the authenticated (default
realm used properly).