Return only a single instance when the single search param is set

According to the flask-restless docs, if you include `"single": true` in the search query, the API should only return a single object, not the full list response. This PR changes the library to have that functionality.

http://flask-restless.readthedocs.org/en/latest/searchformat.html#searchformat