Messages: Conditionally load action and screen functions.
This commit conditionally loads action and screen function code for the
Messages component, utilizing the 'bp_late_include' hook introduced in r11884.
Previously, we loaded these functions at all times, which is unnecessary
when a user is not on a BuddyPress messages page. Now, we only load this
code when needed.