Implement file upload functionality for logo

Makes the image upload controller be generic
This implements: https://github.com/globaleaks/GlobaLeaks/issues/64