Added unit tests for the search controller.
Search controller now sends issue view models instead of issues to the client.