Added flashes/alerts to generator

@jeromecornet for review

There were flashes in the controllers but they were never being displayed. Added flashes using the bootstrap alert styles.