Unifies all posts on a single table

Thanks @czaks and @ctrlcctrlv for all the help.

I think this is done. Unfortunately I have taken too long to do this so I think it diverges a little bit from the current code. I'll do a merge and review the conflicts.
union all not needed