Squashed commit of the following:

Author: Ruth Ivimey-Cook <r.ivimeycook@elifesciences.org>
Date:   Fri Sep 19 11:56:19 2014 +0100

    Start of making it a pip installable package.

Author: Ruth Ivimey-Cook <r.ivimeycook@elifesciences.org>
Date:   Thu Sep 4 14:53:07 2014 +0100

    Fix for putting long vars in POST URL.

    The major part of this change is changing:
      requests.get(self.url, params=payload)
    to
      requests.post(self.url, data=postdata)
    so that the parameters are sent in the request body, not in the URL.

    The payload code has been refactored, and the GET payload excludes the body_X keys; this could be considered bad/overkill?