Code search API support

Fix code search API query format and arguments
Merge pull request #47 from eLobato/code_search

Code search API support