add eslint to enforce consistent coding style

coding style should be consistant in a project. Using tools like eslint
will help enforcing the style all contributors agreed on.
fix all linting errors in pacman.js

code domina is happy, now
enable eslint task during build

never ever make the code domina unhappy, again