Merge pull request #25 from gladhorn/dev

Initial File upload support
Make it compile without c++11
Merge pull request #27 from nierob/compileInC++98

Make it compile without c++11
Cleanup client tests.
Fix upload json

upload previously expected the json to contain
a toplevel "object":{...} which is rather inconsistent
with the rest of the api.
Move it into the actual upload function in private.
Implement include query parameter.
Improve uploading, add test.

Now we automatically associate an
upload with the object that was passed in.

Test the whole thing.