helper constructors

- add widget helper constructor generation with
  class tree based property type inference
- fix tests to support helper constructors