use distutils.get_python_lib to find where built in cubes live; fix __new__() signature in http_api; raise exception if we cannot use dict comprehensions for basegitorepo