Migrate to Psych including tool for conversion

Might need some refinements, but PR-ing it for reference.

Related issue: #17.

Breaks ruby 1.8 unless there exists psych for it.

Needs a test!