Fixing key press detection for Opera
Ensuring local vars are local; adding more properties to our new event
Merge pull request #401 from darrentorpey/master

Fixing key press detection for Opera
Move Text._thisFont creation into init

The Text component was creating a this._textFont object outside of init.
This was causing the structure to be shared with all instances of Text.
Whenever one instance changed the font it would be changed for all
instances.

This commit moves the initialization into init() so each instance will
get its own copy.
Sprite scaling for DOM with backgroundSize=cover

Currently it's not possible to scale sprites - they get clipped. Default behaviour should be to scale.
https://groups.google.com/forum/?fromgroups=#!topic/craftyjs/BFo8K3FgySc
Merge pull request #423 from cawoodm/patch-2

Sprite scaling for DOM with backgroundSize=cover
Added improved dirty rectangles algorithm.

Authors: Mark Logan and Ian Langworth, Artillery
Improvements to error messages.
Merge pull request #427 from statico/dirty-rectangles

Improved dirty rectangles algorithm
rename file in script tag
Merge pull request #443 from KarloxMartinez/master

Changes in demo files to use crafty-local
Merge pull request #409 from zlandau/master

Fix sharing of textFont object in Text component
Merged with upstream changes