api - search updates

added search engine :smile: 
added ember-data api
because in the first api request, i encode the ActiveRecord data to Json and user_id is the primary key in the  database. now i am creating the json by myself, i will put id if is better