[theme][s]: (refs #19) add proper support for flask flash messages.
[theme][s]: (refs #19) add proper support for flask flash messages.

* TODO: refactor some existing code that uses explicit msg parameter to use flash messages

jasonzou/MyPapers,jasonzou/MyPapers,jasonzou/MyPapers,okfn/bibserver,jasonzou/MyPapers,okfn/bibserver,okfn/bibserver,jasonzou/MyPapers,flowsta/bibserver,flowsta/bibserver,flowsta/bibserver,flowsta/bibserver,okfn/bibserver