Added handling for bad sprite data.
Fixed a couple server tests.
Built payment endpoint for processing Apple IAPs.