Wrappers to Query on Table and DataStore

For single object query we should make sure that there is only one object otherwise throw an illegal state exception. If it is zero then return null if it is one return the one object