Added kerberos map file

Instead of using the certificate mapfile the user can now use the kerberos map file instead.
Also added mapfile examples and cleaned up the unit test.