Bugfix: make unwrap/wrap of FormData work

unwraping/wraping of FormData did not work, because:
wrap() passes impl as the first argument to constructor
FormData constructor expected formElement as first argument
fix is a bit hacky: switch on class of argument passed in.
wrap/unwrap test