Massive update to features and modal dialogs.

*Almost* all of the hackish modal dialog code has been removed
from the features, and we now are working properly with Rails'
Turbolinks (though this feature needs more testing).
Update progress bar in cooccurrence analyzer.