Added initial stubbed hg fileserver.
Implemented some functions for hgfs
Switched to hglib instead of hgapi
Chagned reference to hgapi to hglib
Iterate over file to generate md5 sum
Move to using utils hash function
Adding missing func call
Fix some formatting (pep8)
Make sure text is a string for file.contains, Fix #6817
Add any groups that are passed in as options
On Windows remove spaces and * from group names
Fix bug introduced in fcfe3a9 when changing argspec to use the named tuple
Merge pull request #6841 from s0undt3ch/develop

Fix bug introduced in fcfe3a9 when changing argspec to use the named tuple
Merge pull request #6834 from jacksontj/develop

Move fileclient local hashing to use utils
Keep old behaviour if `gitfs_root` is not set or is set to an empty string.
strip both spaces and * from Group names
Merge pull request #6840 from s0undt3ch/hotfix/fix-gitfs-root

Keep old behaviour if `gitfs_root` is not set or is set to an empty string
Merge pull request #6836 from basepi/contains6817

Make sure text is a string for file.contains, Fix #6817
improve group mgmnt in user.present on Windows
Set groups and full name properly first run