Added initial stubbed hg fileserver.
Implemented some functions for hgfs
Switched to hglib instead of hgapi
Chagned reference to hgapi to hglib
Added hgfs values to config
Fixed not returning virtual
Fixed some typos and bugs.
Merge pull request #6846 from shadowfax-chc/hg-fileserver

Hg fileserver