4.2 Fix select on belongsToMany eager load
Add ability to automatically resolve DB::connection('mysql::write') to use writable database connection as well as DB::connection('mysql::read') instead of adding duplicate connection config.

Signed-off-by: crynobone <crynobone@gmail.com>
Fixes #5376 DateTime to minutes
Make isValid() check only for UploadedFile instances
Global scope joins broken when using Find

Make Builder::find and Builder::findMany use the fully qualified names so global scopes can still work.
Fixing tests.
Completely revert "remove useless contructor" changes on Illuminate\Support\Fluent where it doesn't respect object that implements IteratorAggregate and ArrayIterator.

Signed-off-by: crynobone <crynobone@gmail.com>
Add support for nested collections when using collapse
Support for sslmode in PostgresConnector.php

This change makes it possible to specify sslmode when connecting to PostgreSQL, ie use SSL encrypted connection between the web app and the database. Of course it requires some configuration of your PostgreSQL instance to make it work. I've tested this with the database config value 'require' to make the SSL connection mandatory and setting hostssl in pg_hba.conf for all connections. 

Possible sslmode values depend on the version of the pgsql library: 'disable', 'allow', 'prefer', 'require', 'verify-ca', 'verify-full'. The default value is 'prefer'. The value 'require' is backwards compatible.

For further info check the PostgreSQL docs: http://www.postgresql.org/docs/9.3/static/libpq-ssl.html
Only include migrations that need to run to preserve RAM.
Fixed indentation
Implement NullStore in Illuminate\Cache.
Fix copy-paste issue.
Update the Travis file of the workbench
fix output buffering levels
Adding migration to create a cache table
Add ability to set beanstalkd port
Stop queue:work --daemon processing when app down.

Contrary to the documentation, the 'queue:work --daemon' command happily
continues on processing events after the 'down' command has been called,
which could lead to queue events being processed while database and code
migrations make the application unstable.

This fix adds a isDownForMaintenance() function into the QueueManager to
provide the Worker a way to find out if the application is down or not.

Implemented as part of the existing daemonShouldRun() function, since
that function already performs the required process of blocking future
events from being processed.
Update CacheTableCommand.php

Adding blank line in the end.
Reducing two 'commands' calls to a single and providing a 'command.cache.table' service