Changed version of commons-fileupload to 1.3, which fixes issues retrieving filenames in multipart requests with multiple file uploads.  Updated SwordAPIEndpoint to match the change
MetadataResourceAPI closing input stream in finally block to ensure it closes when exceptions occur.  Added null checks on packaging and mediaType when generating atom statement