Simplifying controller generation.
Working on generator code clean-up.
Change app name command autoload dump.
Fix a slight bug in action URL generation.
Change order of check.
Fix namespace slash.
Simplify remindres-controller command.
Import class.
Change syntax of empty check in Collection->random()
Add test to collection->random() when collection is empty
Set index name of morph relation

The index name auto generated index name can become long and with this method it can be overridden
FIxes `php artisan key:generate` failed due to used of hardcoded app path config.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge pull request #5505 from crynobone/patch/generate-key

[4.3] Fixes `php artisan key:generate` failed due to used of hardcoded app path config.
fine, a one liner then.

;)
Tweak namespace setting.
Fix controller namespace.
Rename provider.
Add the class loader to support for backwards compat.
Rename class again.
Fix copy-paste issue.