commons-fileupload and null checks

These are a few miscellaneous fixes that I had ended up making to a local version of the java server for use in our repository.  The commons-fileupload version was the most important part.  Thanks for putting the jar in maven, now I don't have to build one and put it in our local artifactory!