removed gitter, added npm stats
changed order
added gitignore
added unit test for rest api
added restapi for index and by_id