mapfishapp - adding 2 methods on UpLoadFileMgmt

If going through download file (instead of upload), we need extra
methods to set extra infos on the FileDescriptor object.
mapfishapp - download file feature request (#754)

Fixing last bugs on the implementation, adding extra checks and
reindenting the whole file.