Little changes setFlash function

- wrapped flash class in flash-container div
- added clearFlash function to clear flash message
- added callback function in addRemoveClass function
- added is-loading class
- added boolean to control timing flash animation