refactor Removing intermediate variable when calling Aria.classDefinition.

Some files are using an intermediate variable before calling
Aria.classDefinition or Aria.tplScriptDefinition.
This is useless, and can prevent some automatic tools from working on
those files.
This commit removes the intermediate variable, which makes Aria Templates
files more consistent.

Close #729.
fix #728 Headers should not be shared between request handler instances

JSONRequestHandler used to have a headers which were implicitly static,
causing issues when modifying those headers with
RequestHandler#getHeaders().
fix #727 Callback failure when submitting a JSON request should be handled in the framework.

Close #731
refactor Rename some tests

Also fix a minor issue with MaximizableDialogTest which had template test
env set incorrectly.

Close #684.
fix #722 PageEngine animation CSS rules are added multiple times in the DOM
refactor TemplateInheritanceTest

Close #719.
Merge branch 'master' into doc_example