Jshint

The same things for for this pull request as this one https://github.com/GoodBoyDigital/pixi.js/pull/302
The changes are sitting on top of the white space removal changes.

This pull request was my initial progress on getting jshint to pass. Much more work to come.

I am making this pull request because I decided to standardize on tabs, and wanted to know if that's ok. The code was pretty mixed, but people seem to prefer spaces more in my experience, so I went with that. 

---

Please notice the .jshintrc file. This is invaluable as it is automatically read in Sublime Text and other IDEs which gives you development time linting.