Added Search API functions.

The arguments are as documented in the GitHub API docs.