Add posts validation and flash messages

Validates a the presence of post title and body and uses
sinatra/flash and sinatra/redirect_with-flash to implement
flash messages