Adds resource upload and retrieval

I tied to add a test for upload, but for the life of me I won't work. I've tried using the structure that exists as well as writing the body by hand (a multipart form with boundaries) without success. I have confirmed that using something like ``curl --form file=@<local-file> http://localhost:8080/resource/`` works.