Remove FLIP_* flags that weren't used anywhere.
Port image loader from SDL_image to QImage.

Note that the image flipping is done with mirrored(), which may be
inefficient since it creates a copy of the image. It could be replaced
with in-place flipping in the future.

Fixes #44.
Remove all references to SDL_image in the build system.