Add licence and build status. Fixes #7, fixes #13