requireTrailingComma: Allow single property objects and single value arrays

Allow single property objects and single value arrays to not require trailing comma if `ignoreSingleValue` property is set. Fixes #369