added defineReactiveProperty utility

this makes it easy to define reactive properties on objects (like binding instances), but also provides an example of how to use the Dependency class.