generate layout
add flash and flash.now messages
Merge pull request #6 from elmerwu/rails-layout

Rails layout