Array/stdObject support, direct url support, search queries support

I made small changes in your library.

* First one allows developers to choose which output type they need. It implements function overloading, so should not influence on existing projects.

* Second change provides an opportunity to use full-urls with library-selected format of response.

* And third change adds function for search.

Hope this will be helpful.