Fix metaschema access

This includes @benkirzhner's changes from #136; all I've done is resolve a merge conflict and change it to use `File.expand_path('...', __FILE__)` instead of looking up the dir from gemspecs.

Fixes #135, supersedes #136.