add Error handling code

to method configTimeToLiveInSeconds to check the range of $ttl
+ uss hooks
Merge pull request #6 from OpenISDM-VR/feature_uss_hooks

Feature uss hooks