Monster commit

New features:
* Upload attachment with module (resource)
* Edit modules
* moduleBean now supports file uploads

bug: not all files gets successfully uploaded. Size issue.