adds karma config

updates npm ignore setup