Enable Non-Square Sprite Sheets

Resize width and height alternatively while packing images into
non-square sprite sheets
Merge pull request #648 from djh-/develop

Improve Texture Packing for Non-Square Sprite Sheets