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.
fix #727 Refresh manager not resumed after an exception in a module controller

Close #735
feat #682 replace `contentMacro` with `macro` in @aria:Dialog

To make API more consistent, let `macro` in @aria:Dialog be a synonym for
`contentMacro`.

`contentMacro` is deprecated from now on.

Close #682. Close #687.
feat #736 Animations for HTML elements

Close #736
fix #737 `childElementCount` not supported in IE8-
fix IE opacity issue ( for IE version<9 )