Refactor User#update_last_seen! and User#update_tracked_topics

Improves the score of the `User` class by refactoring two of its most complex methods (per code climate).

Refactors `User#update_last_seen!` and `User#update_tracked_topics` 

(This PR was written while wearing a Discourse t-shirt - thanks @samsaffron :smile:)