Updated linter
Updated linter

- Fixed a minor bug in ExpectedIdentifierError's message.
- Added 'type' and 'array' fields to the ExpectedFunctionIdentifierError
exception.
- Added 'typ' and 'array' parameters to the ExceptFunctionIdentifier
function.
- Added ExpectedEventIdentifierError exception.
- Added ExpectEventIdentifier function.
- Added exceptions for unterminated property, state, function, and event
definitions.
- Added exceptions for unterminated if- and while-blocks.
- Modified FunctionDefinitionCancel exception to pass along the
function's signature instead of just the function's return type.

Kapiainen/SublimePapyrus