Always throw a 404

Account for the way that (array)null results in [] and not [null]
phpcs fix
Add InvalidPrimaryKeyException

Used with findOrFail when passed an invalid pk
Merge pull request #5418 from cakephp/3.0-consistent-get-exception

Consistent exception behavior for Table::get