Fix Transform power bugs

* Fix transform_duration being ignored (caused instant untransform and a crash)
* Switch effects and passive powers when changing form (see #343)