refactored search and introduced javascript unit tests

search is now a service
both traditional search and the navigator use the service
testacular is now used for unit testing javascript code
updated README in config folder describing how to run js tests