Make prefix bindings copy all the properties of the original binding.

This way stuff like oneway-transformations work.
Also added properties _resolved_form and _unresolved_form to help debugging bindings.