use requests library and added handling for annotations

Converts all calls to the REST API to use the python-requests library.

Conversion to and from the synapse typed style of annotations ('stringAnnotations', 'doubleAnnotations', etc.) is in as well. Some work remains to get and set annotations directly on an entity object.