Pass POST params as function parameters, not a dict.

This was a change to openphoto-python a long time ago,
to make it more "pythonic".

I suspect this fixes the rather odd error message in #19.