Fixed event handling for touch-supported devices.
Merge pull request #397 from hickert/master

Update event registration for touch devices
Clear top context in toDataURL* methods. Closes #399
Amalgamate canvas creation + VML initialization into one place. Add new method `fabric.util.createCanvasElement`. Version 1.0.3.
2012 -> 2013
Update README
Clear contextTop before call renderAll() in _finalizeAndAddPath
Merge pull request #400 from Kienz/freedraw_fix

fabric.FreeDrawing: Clear contextTop before call renderAll() in _finalizeAndAddPath
Pass event to "object:rotating" callback
Add `fabric.Object#getBoundingRect`. `getBoundingRectWidth`/`getBoundingRectHeight` are deprecated.
Fix touch events if canvas is inside a scrolled container (see issue #123).
Fix bug if mouse moves over absolute scrolled element while object scaling (see issue #385). Also if mouse is moved over documentElement (fabric.document) while scaling object is fixed (same issue like #385).

Tested with Safari 5.1.7, 6.1, Firefox 18, 3.6.28, Chrome 24/25beta, Opera 12.12 and iPhone iOS 6.1, iPad iOS 6.1 in non-scrolled and scrolled containers.
Merge pull request #407 from Kienz/getPointerFix

Fix for getPointer on touchDevices + Fix for absolute postioned scrolled elements
Add support for patterns
Some free drawing refactoring
Fix typo in serialization module
Add fabric.Pattern tests
Version 1.0.5
Fix backgroundColor (backgroundPattern) in loadFromJSON / loadFromDatalessJSON
Merge pull request #409 from Kienz/backgroundColorFix

Fix backgroundColor (backgroundPattern) in loadFromJSON / loadFromDatalessJSON
Add ability to specify pattern repeat via options