Allow App::down() callback to be configurable based on app requirement. Fixes #1701.

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

This commit is a large cleanup throughout the framework. Changes are:

- Put use statements on separate rules
- Fix some variable positioning in docblocks
- Import dependencies with use statement rather then using them directly with their namespace in a class
- Fixed an incorrect @param statement on a property docblock
- Fixed some incorrect return types
- Replaced stdClass with "object" (see note below)
- Replaced a static::make with a new Illuminate Response call in the Response facade (to be in line with the other functions)
- Added dependencies to the start function in the workbench Starter class

The reason why I replaced stdClass with "object" throughout all of the docblocks is because it isn't correct. Stating that you expect stdClass means that you don't expect any other class except stdClass which is wrong. You need to indicate it as "object" so you can expect different types of classes. A prime example is the migrator class where some functions expect a migration class. Those classes aren't stdClasses but they are objects.

Remember: all stdClasses are objects but not all objects are stdClasses.
Signed-off-by: Dries Vints <dries.vints@gmail.com>
Added "getData" method to retrieve json-decoded data from JsonResponse

In the context of this issue : https://github.com/laravel/framework/issues/1751
changed response type of 'getData' to mixed
Fixed some @return in PHPDocs

The return type is copied from the php.net manual
Fixed another one

requireOnce()
added php's default arguments to getData method of JsonResponse
Add "splice" method to collection.
Fix blade compiler reversed tags issue
Added new test for reversed blade compiling
Added field referencing to before and after validators
Added tests for the before validator
View data accessors return by reference
added missing "use Closure;" to SqlServerConnection.php
Signed-off-by: aeberhardo <aeberhard@gmx.ch>
Update Whoops handling.
Merge pull request #1830 from aeberhardo/bug/missing_use_closure_statement

added missing "use Closure;" to SqlServerConnection.php
Add array_column polyfill.
Merge pull request #1824 from shachibista/master

Added ability to reference fields in before and after validators
Removed extraneous comments
Update change log.