Fix #14422 and add more thorough check for CSP violations

Close gh-1413
Fix #12757 - use jscs to check the style guide

Cherry picked from ab63e568f50b5b9823490eda9c184e48cc6440c4 commit
Fix some code style inconsistencies
Add load-grunt-tasks package dependency

Cherry picked from abfa210adfaee28e2496d7749d675d157d8e6c9d commit
Add "keywords" to bower.json

Cherry picked from 0bb4090c2c77746ae3976bcce52ea3f58a056604 commit