Fixed TentStorage database update.

During startup, set variable "ObjectUID" to objects.
If it's a TentStorage, set variable "ObjectID" = "0".
Merge pull request #7 from secit/patch.001

Updated for new Hive build