Divide IStatus information into 3 parts: errors, warnings and completion code.
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.

Also use same style when returning bytes' array and it's length in different
interfaces.


git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@60002 65644016-39b1-43b1-bf79-96bc8fe82c15
Added specific error code for read conflicts in RC NO_REC_VER mode. Added missing conflict counting.

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

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@60004 65644016-39b1-43b1-bf79-96bc8fe82c15
Added counter for record refetches (aka repeated reads).

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