Insert some Parent post code.

Start setting up way to get the parent of a post when needed. Basic
tests have been included in this.