base: flashed (alerts) messages macro

* Moves the Bootstrap alerts/ Flask flashed messages to a reusable Jinja2 macro.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>