requireTrailingComma: Allow single property objects and single value arrays

Allow single property objects and single value arrays to not require trailing comma if `skipSingleValue` property is set. Fixes #369
Move this below the assert please, and simplify to: `this._skipSingleValue = true`.