will paginate makes it easy.
Merge branch 'topics_will_paginate'

Conflicts:
	app/views/topic/main.html.erb