More mature error handling around API calls

* Catches SubmissionErrors and sends pass/fail information back to user
  via javascript hidden div.
* Renamed everything from _compose* to just _*
* CSS and js cleanups to make ongoing work less painful (I hope)