Add pagination to announcements show page, refactor code

@cgruppioni @chukdisc
That line's been removed! See line 6.