Add rake task to check for the expected _meta files

Includes some refactoring of bookshelf.rb to avoid too much repeating of things

Closes #7