completed basic search functionality for files and folders

completed search functionality and squashed all commits into one final commit
@sdevani 
unfortunately, the suggested alternative: return $http.get(urlBase + '/?query' + keywords);
did not work either. I have now reverted back to the original and left commented the above out for later reference.