Added code to support Community and Collection SWORDv1 deposits. Also added Tomcat temp directory cleanup code.