Completed refactoring of the database shutdown. Fixed a few remaining bugs there. Fixed timeout accounting in SS as well as CORE-3817: Forced database shutdown does not work if non-zero delay was specified.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@57788 65644016-39b1-43b1-bf79-96bc8fe82c15
A bit more precise timeout accounting.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@57789 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed CORE-4036: Bugcheck or database corruption when attempting to store long incompressible data into a table.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@57794 65644016-39b1-43b1-bf79-96bc8fe82c15