Add circleci CI setup.

Using https://gist.github.com/joakimk/48ed80f1a7adb5f5ea27