Add lint function to gulp

Add rules to linting which done by esLint
Modify algernon-trap.js according to rules of .eslintrc