refs #684 Add support for a user-defined primary key.
Added constness to updateObject's newObj now that it's not modified for
the caller to log the operation.
add loader test coverage for specified primary key