Added photo upload request and added support in demo application

Also added a fixed version of the base64sig file that will get the hash
from a keystore that is specified on commandline or just the debug by
default