Allow public build status badge for private projects

Replaces #230, fixes #229.