cloud/datastore: move the namespaced context constructor into the datastore pkg

Change-Id: Id6b6cd0f44bd739b321c69550d9edf0f67eb2321