replace do_postgres with pg for better timestamps

do_postgres is using DateTime to fetch timestamps which results in
loosing the milliseconds. But we need the exact timestamp to fetch the
previous and next posts.
new next and previous buttons

When selecting only one post buttons to select the previous and next
blog posts are added. These can then be used to read one blog post per
page.