Use circleci for continuous builds

This supersedes #826.

At this time, the build is actually failing, unrelated to these changes, so we can merge this right away.