Improved configuration to be more generic, added the ability to customiz...

...e flash css class, added bootstrap3 compatibility.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | yes
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | no
| License       | MIT