Allow to set default crypt cost factor
Fire event before cache is cleared to allow tasks to be performed before hand

Signed-off-by: Ben James <in@benjam.es>
Cache\FileStore::flush does nothing if the cache root directory doesn't exists
add useWritePdo for select query
add onWrite method to let Model use write pdo for selecting
add test cases
Fixed port separator in DSN when using dblib with PDO in sql server connector
adjust coding style
add docblock
Merge pull request #6642 from dmyers/sqlsrv-dblib-port

[4.2] Fixed port separator in DSN when using dblib with PDO in sql server connector
Merge pull request #6638 from jlyu/select-from-write-pdo

[4.2] Select From Write Pdo
Fix method name.
Merge pull request #6629 from arthurdarcet/patch-2

[4.2] Fixed FileStore::flush If The Cache Root Directory Doesn't Exist
Merge pull request #6615 from benjam-es/cache-pre-clear-event-patch

Fire event before cache is cleared to allow tasks to be performed before...
Merge pull request #6605 from miclf/patch-2

[4.2] Allow Setting The Default Crypt Cost Factor