CMS-3751 Remove jersey specific code in admin. Added an upload test.