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.