Pages for topics and posts.

I couldn't get the module at /lib to work. I don't know how. But I got the paginate method to work and the links at the bottom of the page too.