src: fix jshint errors
gulp: add lint task (close #121)