WIP commit before leaving branch
Fix everything up so it compiles
Merge branch 'dev' into homestead_registration

Conflicts:
	sprout/registrar.cpp
WIP commit
All UTs (except corrupt edge tokens) now passing
Fix spurious TestEdgeCorruptToken failure
Code coverage fixes
Minor cleanup
Use PUT rather than GET
Merge remote-tracking branch 'origin/dev' into homestead_registration
Corrections to deregistration behaviour
Merge remote-tracking branch 'origin/dev' into homestead_registration
Make HSSConnection accessible to the handlers
Merge branch 'curl_fixes' into homestead_registration
Rely on Homestead to decide registration state
Fix up authentication failure notifications
Improve FakeHSSConnection to cope with PUTs
Merge branch 'curl_fixes' into homestead_registration
Fix up UTs
Fix up third-party REGISTER failure