Removed unused use statement
Added hasName method
Updated doc block for hasName
Update Router.php

Cleaned up method using @KennedyTedesco's suggestion.
Prevent a fatal error if Router->current is empty

Prevents a fatal error ("Call to a member function getAction() on a non-object") if currentRouteAction() is called and there is no current route.
Making the return more succinct
Add HEAD when GET is set in Route::macth()
Fix spacing.
Merge pull request #4792 from Garbee/4.2-hasname

Added hasName method
Rename method, organize.
Merge branch '4.2-router-head' of https://github.com/lucasmichot/framework into lucasmichot-4.2-router-head
Add back array set on get.
Readability fixes in Router

Resource Route creation previously had some methods written in one style and others in a different style.  This fix makes all of them one style.
Fix spacing.
Fix conflicts. Merge.
Merge branch '4.1' into 4.2
Merge branch '4.2'