Behaviors as a function

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