Can now paginate listing of all posts.
Moved to Apache Derby since sqlite's jdbc driver doesn't support listing from a certain number.
We now make sure to remove the post from the thread when we delete a thread.