Added ListSize and StartIndex to Query
Implemented Entity.toString() for Entity.