refactor dev_controller
adding support for mails, tested :D
changins foort and header
wrapping dev/flash_messages html in a '.container'