Parent key methods visiblity
Import interface.
Merge pull request #2976 from anlutro-pull-requests/hasoneormany-parentkey-visibility

Parent key methods visiblity
Fix docblock.
Fix Router.php to behave on App::error

When App::error is triggered, Route is empty. When you try to access Route::currentRouteNamed($string), it fails because Route::current() is empty and does not have a getName() method.
Fix test on Windows.
Merge branch '4.1'
Merge pull request #3046 from fedeisas/patch-3

Fix Router.php to behave on App::error
Work on relative URL generation.
incremented version and updated change log.
fix conflict.