Fix namespace.
Use strict comparison.
Remove unneeded "use" statements.
Add newline at end of file.
Remove unused variables.
Add back response property assignment removed by mistake.
Fix broken primary key check for SqliteSchema.
Rename EventListener to EventListenerInterface.
Add EventListener class for backwards compatibility.
Merge pull request #4898 from cakephp/3.0-cleanup

3.0 cleanup
Always pass an ArrayObject into beforeValidate events.

This makes the Model.beforeValidate event the same as other events in
the Model layer where they get an ArrayObject of options.

Refs #4900
Restore the ability to create arbirtary meta tags.

This behavior was lacking a test case, and was accidentally removed in
a5feef9.

Refs #4903
Fix DigestAuthenticate with simulated HTTP methods.

Digest authentication headers depend on the original HTTP method. When
we use simulated request methods, we break digest authentication as the
hashes never match. This change adds `ORIGINAL_REQUEST_METHOD` to
request->env(), which allows us to access the original HTTP method.
I went down this route as I wanted to avoid more global dependencies,
and I thought having a way to access the original HTTP method could be
generally useful.

Refs #4889
Merge pull request #4905 from cakephp/issue-4900

Always pass an ArrayObject into beforeValidate events.
Merge pull request #4907 from cakephp/issue-4889

Fix DigestAuthenticate with simulated HTTP methods.
Allow arbitrary meta tags to be created with arrays.

This was removed in the 2.x -> 3.0 updates, but there isn't really
a reason to remove it imo.

Refs #4903
Cleanup TestCase extends
Merge pull request #4910 from okonomi/test-case-extends-cleanup

Cleanup TestCase extends
Use reflection API instead of array diffs.

Use the built-in reflection API's to choose methods. This has the nice
advantage of letting the test generator include methods that are
overriding methods in the parent class. This covers handy things like
Table::initialize() which also fixes generated tests creating warnings.

Refs #4892
Improve test template so it always includes one method.

Having at least one test method in a generated file will prevent errors
from PHPUnit about empty test classes.

Refs #4892