V2

Merge v0.5.0 into the master branch (0.3.1 and earlier will still be available via the appropriate tags and on the CDN but will no longer be maintained).