add 'clear recents' link, thus completing the recent-words feature. added some helper methods to spec_helper.