Add Berkshelf support

Based on #154, but ported to current master and unified with Librarian.

This is not yet ready, but I opened the PR to get comments and make it easier to discuss.