objects.tweet: Move common code to a separate function
objects.user: Add methods for the user object
resources: Add missing return type for the 'report_spam' method