Make necessary database-level changes
Full UT coverage of cache changes
Add new handler for setting registration state
Fix up HTTP API and fix compile warnings
Send Re_REGISTRATION SAR based on TTL
Fix up extraction of public IDs; add XmlUtils function to extract private ID; reinstate TTL checking
Fix typo; fix segfaults when XML is empty
Implement Cassandra booleans correctly
Distinguish between deregistrations (which are only valid when the user is in REGISTERED state) and failed authentications (valid in all states)
Rename 'ims_sub_cache_ttl' to 'hss_reregistration_time'; also fix up cache UT bugs
Merge remote-tracking branch 'origin/dev' into cassandra_registration

Conflicts:
	debian/homestead.init.d
	src/main.cpp
Refactoring: make the old Homestead API a special case of the new API
Merge remote-tracking branch 'origin/dev' into cassandra_registration

Conflicts:
	debian/homestead.init.d
Make methods appropriately virtual
Fix bug - Cassandra writes triggered by a PPR should have the same TTL as when triggered by a SAA
Fix unit test issues
Fix up indentation
Take latest freeDiameter
Code review feedback - namespacing and argument dashes
Code review feedback on cache code