Merge pull request #24 from marqh/metarelate

use metarelate api
generate stash references
variable resolution pp_rules fix
simplified output dictionary
pep8
path refactor, gen_helpers
rules formatting tweaks
metarelate up to date