corrected expected variable errors

getOperand() needed to take into account which type of reference was
being asked for to determine which error to return (only was a problem
for the string type that different errors are needed for All or Variable
references); for internal functions that were not sub-string functions
incorrect were returning ExpStrVar when reference was requested instead
of getting the appropriate error for the current data type and reference
mode; for define functions with parentheses if should have been
returning ExpEqualOrComma error pointer to the open parentheses instead
of returning expected variable error for the current data type

merged expectedErrStatus() and variableErrStatus() into one function
that also takes a reference argument (defaults to None for backward
compatibility); also added temporary variableErrStatus() for
backward compatiblity (will be removed)

updated translator test #11 results for change in two sub-string
assignments (copied original for old translator)