Refactor Declaration code so that methods become real methods. Also do dojo/connects on prototype methods rather than using fake mixin trick.
Refactor Declaration code so that methods become real methods.
Also do dojo/connects on prototype methods rather than using fake mixin trick.

Also updated demo.Table example to declare onClick method
so that code in Widget looking for override to onClick works.

Fixes #7650 !strict

git-svn-id: ee6e786acc44c9cca5ee17c71a5576c45c210361@15238 560b804f-0ae3-0310-86f3-f6aa0a117693

redaktor/deliteful