Disable query caching to accent query-related optimizations
Shorten the messages controller by one line
Specify the inverse association for a user's received messages

This avoids extra lookups per message in the list view to display the
name of the recipient, since we already have the recipient loaded into
memory.