Add wicked pdf gem.
Edit show method on messages_controller to respond to pdf format. Added a new view for rendering the pdf, there's a issue for now: the generated pdf doesn't have the CSS styles from bootstrap.