Adding jshint to cover ./lib

@fehguy this will conflict slightly with my other PR.  I'll resolve conflicts accordingly.  Thanks.