Make image uploader compatible for mobile and web

The server now takes a POST to user/pets/images with an 'image' property of a 64base encoded string.