Switch redraw event name to "Invalidate"

Currently we use "Change" to indicate both when an attribute has been changed by `attr`, and to indicate when an entity needs to be redrawn.
This patch switches the name of the latter type of event to "Invalidate".

Since every other instance of "Invalidate" doesn't pass any date, this no longer passes the old coordinates when an entity is invalidated becuase of a move -- the event "Move" already covers that case.
Merge pull request #689 from kevinsimper/frameTest

Crafty.frame function not working - Fixes #688
Merge pull request #694 from starwed/invalidate

Switch redraw event name to "Invalidate"
Merge pull request #692 from kevinsimper/storage

New storage based on localStorage
Move sprite function to sprite.js