Add cleanup to prune old branches.

Haven't tested -c. Have tested -p.

Fixes #6.