Tasks to ajax

Restructured tasks, associated views, CSS and JavaScripts to make tasks submit via AJAX requests. Also moved around some controller logic and added some functionality to models to abstract and cleanly support this.
I went ahead and added a JS alert for now. When we address the task submit errors, we should make this consistent with the display (whether it's a server-side or client-side error like this).