Fixed `object.toDataURL` if object's originX/originY != 'center'
Add documentation to object.toDataURL for options object
Alias "jpg" format to "jpeg". Closes #806
Merge pull request #850 from Kienz/patch-1

Fixed `object.toDataURL` if object's originX/originY != 'center'