Work with RequireJS

require function in the compiled crafty.js expects the exported symbols the be defined in module.exports object. If using RequireJS Crafty was never added to the object. That leads to `var Crafty = require('./core.js'),` returning an empty object which leads to Crafty failing to initialize.
Add grunt-contrib-connect package and connect task

`grunt connect` task can be used to run a local HTTP server.
extracted spriteanimation
add to package.json
Failing test for the Crafty.frame();
Remove frame variable so the crafty scope can access frame variable. Fixed #688
Abstract viewport resizing

Add setters/getters for the viewport, and trigger a "ViewportResize" event.  Use that event to alter the dimensions of the stage and canvas appropriately.
Merge pull request #680 from potomak/feature/grunt-contrib-connect

Add grunt-contrib-connect package and connect task
Merge pull request #691 from starwed/viewport-resize

Abstract viewport resizing
Fix shared coord issue
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 #695 from starwed/coord-fix

Fix shared coord issue
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"
More documentation for storage function
Added the storage to the test again

New tests for storage.js
Updated the documentation for the storage function explaining when to use it

If the localStorage object is not supported return false.

Added documentation for remove function
Merge pull request #692 from kevinsimper/storage

New storage based on localStorage
Move sprite function to sprite.js
Remove unwanted mobile behavior

Removing scroll on viewport is not something you want as it also happens on a iPad for an example.
The window.scrollTo does not work on iOS7 anymore, so that is also useless now, also because it will not scroll if the viewport height is equal to the document height.
Setting that the touchmove on is ignored on the Crafty element and not on the whole page, so that the webpage is still functional.