Makes rotation in android, embeds the image as background

* Make the device rotate the pic before uploading
* When displaying the image in the server, we use background data-uri to
  make it a bit harder to download the image
  NOTE: Make it harder doesn't mean impossible
* Adds config setting to configure image's header footer