Avoid hack in create_database when we have FW=ON at header page disk image and FW=OFF in memory structures and in fact database file is created in FW=OFF mode.

Instead of setting flag on header page when it is formatted for the first usage, explicitly set FW=ON after database creation is complete, if there was no isc_dpb_force_write in DPB.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58754 65644016-39b1-43b1-bf79-96bc8fe82c15
Don't force flush for database which creation is not complete.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58755 65644016-39b1-43b1-bf79-96bc8fe82c15
Fix embedded on MacOS issue with symbolic links and relative paths

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58757 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed the underlying issue that made CORE-4255 possible.

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