Also fixed an issue w.r.t the plugin architecture. Previously infinite
recursion would happen when more than one plugin was overriding a method.
Resolved now by using a wrapper function that lazily sets the correct super
method.
Support to send the registration form as legacy or xform, we
use the same variable form_type that was already being used when
calling render
Added submission tests