update api doc
refactoring cursor
getMongoQueryObject, pass tests
refactoring mongo access
updated package.json
generci pagination with callback
pagination of kinds
fixed prev next page
added doc about indexes
updated documentation