Small improvement.

Signed-off-by: crynobone <crynobone@gmail.com>
Use Orchestra\Support\Str instead of global function.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge branch '2.1' into 2.2

Conflicts:
	src/Extension/Dispatcher.php
	src/Extension/Environment.php
	src/Extension/RouteGenerator.php
Utilize Illuminate\Support\Arr

Signed-off-by: crynobone <crynobone@gmail.com>