Merge pull request #542 from zipang/develop

Fix: Make Color and Sprite components work together for DOM elements
Fixing some odd behaviour in isometric, and adding iso tests.
extend functionality of Crafty.debug()

add an undocumented debugging feature to be able to view the handlers
object.
switch from getter to attribute-lookup

attribute-lookups are faster than getters. We use attribute-lookups when
possible everywhere in the code. This is a rare exception, presumably an
accidental oversight.
sprite components should add 2D automatically

This fixes the gotcha described in the documentation, where
Crafty.e('flower, 2D, DOM') doesn't work because the 2D component's init
overwrites the width and height set by the flower (sprite) component.
Merge pull request #545 from sbyrnes321/getter

switch from getter to attribute-lookup when calling _calculateMBR() in _attr()
Merge pull request #546 from sbyrnes321/SpriteRequires2D

sprite components should add 2D automatically
Merge pull request #544 from sbyrnes321/debug

extend functionality of Crafty.debug() -- add a way to access internal handlers object for debugging
* Remove unused directories
* Consolidate styles
* Remove demos into new repo craftyjs/demos
jshint -- missing semicolons etc
Merge pull request #547 from sbyrnes321/jshint

jshint -- missing semicolons etc
Merge branch 'isometric' of https://github.com/ericathegreat/Crafty into ericathegreat-isometric

Conflicts:
	src/isometric.js
Fixes rounding of dirty rects and MBRs

We want the areas of the screen that we clear and clip to have integer coordinates.  Prior to this patch there were some cases that were not caught.  The solution is to do this "rounding up" of regions directly before we use them, rather than as they are created.

Similarly, the MBRs used should have integer coordinates.  This fixes a regression that caused them to be "rounded down" in some cases, and also special cases rotations of 90 degrees.   Previously, taking (say) the cosine of PI/2 resulted in a very small nonzero value, which due to rounding caused some deviations from an ideal 90 degree rotation.

This seems worth special-casing due to the privileged nature of 90 degree rotations.
Merge pull request #550 from starwed/rounding-fix

Fixes rounding of dirty rects and MBRs
corrected formula for calculating x and y in sprite function
Merge pull request #551 from moehabib/spritePadding

corrected formula for calculating x and y in sprite function
Fixed indentation in README
Merge pull request #554 from L8D/patch-1

Fixed indentation in README

Unindents the sample code.