PSR1 standards conversion.

This was automated using http://cs.sensiolabs.org/.
Moved grunt tasks to a contrib directory.
Added PSR2 code standards sniffer as part of composer install.
Added contribution guidelines.