remove extraneous semicolon in generated code
Simplify KeyNav test file.
dojo/query no longer needed, and dojo/dom wasn't being used.
Change template function's return value, to allow for future expansion.
FormValueWidget: don't fire change event unless user actually changes the value.

This is for the corner case when the user (for example) drags the slider handle
but drags it back to its original position before mouseup.

This handles the case when the widget value was set programatically sometime after
startup(), and also the case when the value is computed asynchronously after the startup()
call.

Also moved the genHandler() function to the top, just because I like defining functions
before using them.

Refs ibm-js/deliteful#199, fixes #246.