CRM-13122 added a test for kurunds fix, ran tests & committing updated test-generated examples

Also removed obvious cruft - inappropriate use of transaction in api function, wrong way to handle errors, code for dealing with the fields that no longer need handling.