Add Twig filter 'message'

Add a TwigExtension that can be used to provide a new filter to Twig for
passing messages through our Message class.