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
Merge pull request #5492 from idmadj/4.2

Only include migrations that need to run to preserve RAM.
Spacing.
Merge pull request #5488 from johnparn/patch-1

Support for sslmode in PostgresConnector.php
Clean up comment.
Merge pull request #5462 from JosephSilber/collapse-nested-collection

Add support for nested collections when using collapse
Merge pull request #5461 from kevdowney/4.2

PDOException: SQLSTATE[HY000]: General error: 1 ambiguous column name: id
Merge pull request #5456 from leesherwood/4.2

Make isValid() check only for UploadedFile instances
Merge pull request #5449 from crynobone/patch/revert-fluent

Completely revert "remove useless contructor" changes on Illuminate\Support\Fluent where it doesn't respect object that implements IteratorAggregate and ArrayIterator.
Merge branch 'bugfix/ttl-datetime-to-minutes' of https://github.com/nc01/framework into nc01-bugfix/ttl-datetime-to-minutes
Cleaning up some code.