Specify accept header w/document loader.
Release 0.5.0.
pyld: functools.cmp_to_key Python 2.6

* Port inexistent functools function for Python <=2.6. Related pull request:
  https://github.com/digitalbazaar/pyld/pull/20

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
pyld: Python version checker backport.

* Backported Python version checker to work on <=2.6.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
pyld: relpath fix for Python 2.6

* relpath('/foo', '/') returns '../foo' instead of just '/foo' on 2.6. This
  was causing the relative URL round-tripping test to fail.

Reported-by: Yoan Blanc <yoan.blanc@cern.ch>
Acked-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>

Conflicts:
	lib/pyld/jsonld.py
tests: compatibility with Python 2.6

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Acked-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
travis-ci: Python 2.6 build

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
Reviewed-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
version 0.5.0-dev with python 2.6 changes.