Delete trailing spaces.
Added checking trailing spaces to jshint.
Remove stray occurrences of toX in code and docs

Both the docs and the code still referenced toX -- the former causes confusion, the latter an accidental global variable!
Merge branch 'clean_spaces' of https://github.com/pawurb/Crafty into pawurb-clean_spaces

Conflicts:
	tests/core.html
	tests/stage.html
Merge pull request #673 from starwed/pawurb-clean_spaces

Delete trailing spaces.
Adjust bounding region to include hitbox when it exists outside of the entity

Introduce a new bounding rectangle `._cbr` (collision bounding rectangle) that is guaranteed to include both the entity and it's hitbox.
When the hitbox sits inside the entity, the CBR will not be used.

Also, simplify the way `_calculateMBR` is called.  A follow up patch could optimize that function for the case where no rotation exists.

This patch also adds tests and a small note to the docs that external hitboxes might have a small performance penalty.
Merge pull request #672 from starwed/anim-doc-fix

Remove stray occurrences of toX in code and docs
Edit docs for formatting

There are some formatting issues on several doc pages.  This patch is for cleaning up formatting and (a few) grammar issues.

The various math pages have some pretty big problems, so that's not handled here.
Merge pull request #671 from starwed/cbr

Adjust bounding region to include hitbox when it exists outside of the entity
Merge pull request #674 from starwed/doc-cleanup

Edit docs for formatting