setup jshint and fix basic code style

To make sure the codebase gets a little more consitency I setup jshint
and made some basic style fixes
fix indention for headers example
Added contributer section to readme
fix regex escaping for .

inside new RegEx a . needs to be \\. or it will match like a . in / /
remove trailing comma
fix eqnull to be allowed and some more codestyle
Merge pull request #14 from sideshowcoder/jshint-code-style

Jshint code style