make some Database methods private
split out NamespaceIndex into its own file and clean dependencies a bit
move getSisterNS from Namespace to NamespaceString, as Namespace should only be for storage
fixing members of NamespaceIndex
remove an include
remove unused headers