Add multiple attribute support to Model::isDirty
Simplify code per JosephSilber's suggestion.
[4.2] Database Docblock Fixes
Added typehint to tryAgainIfCausedByLostConnection
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>
Global scope joins broken when using Find

Make Builder::find and Builder::findMany use the fully qualified names so global scopes can still work.
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 #5461 from kevdowney/4.2

PDOException: SQLSTATE[HY000]: General error: 1 ambiguous column name: id
Merge branch 'feature/connection-read-write' of https://github.com/crynobone/framework into crynobone-feature/connection-read-write
Cleaning up some code.
Fix name.
Merge pull request #5345 from jarektkaczyk/4.2-fix-select-on-belongsToMany-eager-load

4.2 Fix select on belongsToMany eager load
Fix chaning.