Fix extensions always being defaulted.

Extensions should not magically be defaulted. Doing this makes
generating URLs unpredictable and annoying.

Refs #4771
Merge pull request #4779 from cakephp/issue-4771

Fix extensions always being defaulted.