Added support for shard spaces

Added CRUD methods for shard spaces.

Also added support for shard space and/or continuous query configuration to createDatabase.