Add .gitignore rules
Add karma config file for running tests