added a test file to test connectivity
added resource folder, hg server config file and hg changegroup hook
Synchronized with bad master commit