Support for transition(properties, options) syntax. fixes #25