Refactored flash messages and updated the "error" message for "danger" for twbs 3.0.