add flash notice support for rails 4
Add status validation and tests
Add sqlite3 to test environment