Simple refactoring to allow customization of field/widget as_dict().

E.g. my usecase was that the ModelChoiceFields sometimes have too many choices, and I don't want to pu them into the RemoteForm.as_dict(). There was no other way to do that other modifying the source.
Now it's a lot more flexible.