Hash::nest() should throw an exception instead of returning an empty arr...

...ay

Refs: https://github.com/cakephp/cakephp/pull/3498#issuecomment-48316204