Final commit before the 0.3 (beta) release. It works with the new REST 1.1 API although some features NYI.