Support gluejs v2 (and transform)

With `transform` it's possible to use [browserify](http://browserify.org/) plugins like [coffeeify](https://github.com/substack/coffeeify).
Also some other gluejs features are supported, like `command`, `replace`, ...

Please note that `.defaults()` is gone in gluejs v2, so I had to work without it.

Note also that Gluejs `.render()` is asynchronous, so I had to adapt the code consequently.