Add MessageList.first() and last() for convenience.

- Fixes #1530