Renamed $userManager hidden parameter from inc/hrm_config.inc.php.
Started implementing proper user management.
Merge branch 'Hackathon2014' of https://github.com/aarpon/hrm into feature/template_sharing
Fix for incorrect support of AD multidomains.

Some additional documentation needed.
Added needed, new parameters in active directory config sample file.
Merge branch 'bug/AD_multidomain' into feature/template_sharing
Several changes to the UserManager classes.
Implemented user creation and update via the UserManager.
Moved the creation of user folder to the UserManager class.
Added methods to delete and update users and their user folders.
Initial implementation of template sharing: shared templates are copied into new tables.

Currently, all templates are shared with an hard-coded user, there are no notifications, and there is no way for the recipient to get the shared templates.
Bug fix: missing required include.
Some structural changes in the sharing template tables.
Dropped the geometry table.
Fixed some css and layout issues.
Initial implementation of shared template accept/reject dialog.
Some more work on template sharing.
More work on template sharing.
Accepting and rejecting templates is now implemented for parameter settings.
Accepted shared templates now have name in the form previousowner_settingname.

Moreover, if a template with that name already exists, an increasing numerical index is added to make sure the name is univocal.