PMGR-4819 - Fixes a few bugs: 
* Upsert was overly restrictive; it failed to deal with upserts of
details in a master-detail because the field that referenced the master
was always considered unwriteable, even on insert. 
* Also, formula fields needed to be filtered out 
* Upsert of a single record was broken