Allow individual projects and libraries to be built by bin/rebuild

This adds both `--projects` and `--libraries` support for `bin/rebuild`, which is just a simple extension of the pull request from here: https://github.com/opensourcery/turnip/pull/59.