PdPatchControllerGenerator: Added a test for setup of rObjsArray (array with dicts of rObj key/values). Fixed issue with for loop in headerFileProperties method.

Signed-off-by: Colin McArdell <colin@colinmcardell.com>