Untangle manual.html by introducing classes, events, models, views.

Still TODO in this chunk of work:

 * Feed input environment to shader executable
 * Pipe results into the variable window
 * Show error messages in one of the output viewers
 * Save past input values properly (broken?)
 * Only send inputs if all fields are filled in properly
 * Validation of number fields