Behaviors as a function

Added ability to use view scope.

```
behaviors : function () {
  return {
    Tooltip : {
      behaviorClass : Tooltip,
      selector : this.ui.tooltip
    }
  }
}
```