Add some logic from jsHint provided by brackets

This is to work more inline with how brackets already does hinting,
which is already awesome