Updates for Upload attachments

git-svn-id: https://specify.svn.sourceforge.net/svnroot/specify/trunk/Specify@10849 ce9bf4bf-376f-1848-a496-a1c9fe3b1a39
Commit to fix Java 1.7 issues

git-svn-id: https://specify.svn.sourceforge.net/svnroot/specify/trunk/Specify@10850 ce9bf4bf-376f-1848-a496-a1c9fe3b1a39