Implement flash messages in Pyramid