Controller::replace should accept jQuery object or DOM Element

I've found, that after latest changes Controller::replace can accept only strings:

```coffee
element = $ ".dom-element"
console.log $.trim element  # will return "[Object]" instead of original element
```