Added: 'object:removed' event

Inlined removeFromArray call (because it didn't return whether indexOf returned -1 or not so I couldn't know if 'object:removed' had to be fired or not
Added: 'canvas:cleared' event

When the canvas is cleared, it doesn't fire any 'object:removed' event, on purpose
Bugfix for canvas.toDataURL() - canvas.clearContext(canvas.contextTop) in after:render clears context if canvas.toDataURL() is called.
Observe before:render and clear contextTop.
Merge pull request #392 from Kienz/aligning_bugfix

Bugfix align_guidelines for canvas.toDataURL()
Fixes for aligning_guidelines and centering_guidelines

aligning_guidelines:
- Bugfix for rotated objects - rotated objects should be aligned correctly

centering_guidelines:
- Fix for objects with different origin (originX or originY != 'center')
- Fix for clear lines
Merge pull request #395 from Kienz/aligning_centering_guidelines

Fixes for aligning_guidelines and centering_guidelines
Merge pull request #388 from FremyCompany/patch-1

Add 'object:removed' and 'canvas:cleared' events
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