Updated rest routes for node app

* Associated event to thing based on thing name
* Changed thing and event routes based on thing name
* Added name member in thing schema