Add IStatement::getFlags() to help user make a solution what to do with SQL statement

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

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@57677 65644016-39b1-43b1-bf79-96bc8fe82c15
Do not prefetch unneeded information in IAttachment::openCursor()

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