Added post_thumbnail class and tabs.
Added function to print post metadata.
Added function to print post attachments.
Added post navigation function.
Removed all templating functions.