prevent test reordering
support functions as viewmodel members. made registerView more efficient (only calls .get() once)
added function value test, moved test samples into .js file to allow for this
rebuilt
fixes bug referred to in #13, where document reference outside closure was causing errors in certain edge cases
Fixes #14. Not sure how this broken code survived for so long...
added test to prevent recurrence of #14