begin tidy and introduce tests
switched to angular for testability
angular test clean up
fixed tests
all tests fixed.
added tests to cover rule matcher
project cleanup and additional test coverage.
editing rules hook up and csp fix for chrome extensions
getBackgroundPage fix
fix for request listener
folder tidy up
removed old proj file
Merge pull request #1 from ranjez/refactoring-and-tests

Refactoring and tests