Fixes event attribute parsing to support single quotes in attribute value.
Fixes unquoted attribute value parsing.
Refactors attribute value parsing.
Fixes unquoted attribute parsing.
Adds more parser tests.