Added methods and events for subnode, subview and layout add/remove.

Added constantlayout.
Added variablelayout.
Added shrinktofit.
Added alignlayout.
Added spacedlayout.
Added wrappinglayout.
Added resizelayout.

Fixed a few big issues that came up once I started adding/removing views after initialization. There is/was a problem with the scope for event binding which I worked around. Moved the subnodeAdded events to a time after all but the late attrs have been set so that wierd race issues will not occur.
Eliminated the "any" type.
Added in listener for parent init to improve performance regardless of when the layout is instantiated.
Factored away "any" type. Reworked to use handlers.
Small tweaks to fix the doc builds
Added methods and events for subnode, subview and layout add/remove.

Added constantlayout.
Added variablelayout.
Added shrinktofit.
Added alignlayout.
Added spacedlayout.
Added wrappinglayout.
Added resizelayout.

Fixed a few big issues that came up once I started adding/removing views after initialization. There is/was a problem with the scope for event binding which I worked around. Moved the subnodeAdded events to a time after all but the late attrs have been set so that wierd race issues will not occur.

Added in listener for parent init to improve performance regardless of when the layout is instantiated.
Merge from master
Merge branch 'layout' of https://github.com/teem2/dreem into layout

Conflicts:
	classes/alignlayout.dre
	classes/constantlayout.dre
	classes/shrinktofit.dre
	classes/variablelayout.dre
	layout.js.map
Merge branch 'master' into layout

Conflicts:
	layout.coffee
	layout.js
	layout.js.map
Merge pull request #54 from teem2/layout

Layout rewrite