Images measurements support

Version bump to 0.3.4
Adds width and height to the spriter output. Also some code cleanup.

See #52