Simplify and test.

+ Added specljs tests for several functions.
+ Removed :order key and changed :timers into a vector.
   We don't need 0(1) indexing into the timer list since it will typically be very small.
+ Removed unnecessary template code from index.html
+ Began grouping non-UI functions for extraction later.