Always add __path__ to JSON objects
Add getFrames function
Add new flipgridx image operation

This isn't actually in Starbound, but it lets us create a cached sprite
where all the frames have been mirrored horizontally. This is better in
the HTML5 world than doing the mirroring on the fly (at least the way I
render sprites right now).
Measure calls