Fixing put(), and strenghtening unittests.

* Removing unused inports in test_field
* XXX. have to ask about the standard json 'ok' response in globaleaks
* Fix fieldscollection.put handler.