CenterForOpenScience/osf.io — pull request #1282 by brianjgeiger (2014-11-21 19:20:41+00:00)
Title: Feature/replace bootbox with growl

Needs some testing, but fixes https://github.com/CenterForOpenScience/openscienceframework.org/issues/1248.
Trello board: https://trello.com/b/thvO2dWt/growlbox-pr-1238

Purpose
-----------
Replaces any modal dialog box created by a bootbox.alert() with a growl-style notification. Well, except for one, documented in the issue.

Also replaced the dismissible alert created by the push_status_message function in python with a bootbox. The non-dismissable alert is the same as it was.

![screen shot 2014-11-14 at 12 10 48 pm](https://cloud.githubusercontent.com/assets/6599111/5049888/535df470-6bf7-11e4-9b1f-cd0e48e80c08.png)

Changes
------------
It's mostly the same change over and over, but in a lot of places that I haven't thoroughly tested yet, because some of the conditions are hard to test. Also alert.mako has been modified for the push_status_message.

Side-effects
----------------
Ideally, none, but if I made a mistake in one of the 20+ places I changed this, I expect an error would not show. I want to work with QA on a plan to test this properly. That being said, after fixing tests, it's entirely likely that a badly-placed return in the text being passed through push_status_message could break the javascript, so those will have to be especially closely tested.

When doing code review, please double-check for
```js
new GrowlBox(title, message, *status*)
```
where status is optional. If it has only one string going in, it's not going to work well. Otherwise it should be fine.