Ensure date attributes on an Eloquent model are output in same format
when the model is converted to an array as if you were to directly
access the property on the model.
add distinct pagination test
move comment to appropriate location
add multiple column count support for distinct pagination
fix spacing
Allow any 'callable' action, not just anonymous functions

If creating routes dynamically, like the following:

```php
$router->getRoutes()->add(new Route(array('GET'), '/foo', array($this, 'xxx')));
```

... then the previous code will fail because `php array($this, 'xxx')` is not an instance of Closure, however `is_callable` will work just fine.
Find any 'callable' action, not just anonymous functions
Make Paginator::getUrl have priority over appends
Fix many to many polymorphic pivot updates

`$morphType ` set by `setMorphType` is being included in queries from x->pivot->save() and the like. As the object is being added as a public data member on an object with an empty original, it is treated as an attribute and added as a column to the queries. As this column doesn't exist, the query will be erroneous.

https://github.com/laravel/framework/issues/3693
Tweak test
Fix conflict.
Merge branch 'f/eloquentToArrayCarbonDates' of https://github.com/danharper/framework into danharper-f/eloquentToArrayCarbonDates
Fixing some formatting issues.
Use isset instead of array_key_exists.
Fix broken PR.
Remove unneeded test.
Increment 4.1 version.
Only create a "config" instance if only it not yet created.

On one of the project I'm working right now, I'm using both Config and Capsule component, since I register config service location first and then capsule, all the preloaded config is destroy on the config service location is converted to instance of Illuminate\Support\Fluent which is not ideal in my use case.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge pull request #4598 from crynobone/feature/capsule-config

[Database\Capsule] Only create a "config" instance if only it not yet created.
Merge pull request #4276 from dannykopping/4.1

Allow any 'callable' action, not just anonymous functions