Add transformation from WordPress output to post structure.

As always, there are things that could be refactored, but for the
moment, this works.
Merge pull request #8 from mdorman/merge

Add transformation from WordPress output to post structure.