Added utility functions for uuids.
CORE-5228: Added a namespace for accessing tree urls in the database.
CORE-5226: Added a namespace for accessing user prefs.
CORE-5227: Added a ns for saved search queries.
CORE-5225: Added a ns for session queries.
Added a utility function for setting up a db conn.