Replaces puppet-librarian with r10k. Fixes #561. Fixes #385.