Fix <img src> when src preceded by other attribute

Fixes regression introduced in commit 0934764 (Issue #353).
Merge pull request #355 from tedjp/ng-src

Fix <img src> when src preceded by other attribute
Add JSCS support.

Also move style checks from JSHint to JSCS.
Fix JSCS issues and make everything more readable and consistent.