fix for mssql10 inline assembly creation
fix for mssql10 inline assembly creation

if doc_clone is defined, $doc->database was found, add it after inlineAssembly entries
and if there were inlineAssembly elements included,
composite these inlineAssembly elements in very first

austinhyde/DBSteward,nkiraly/DBSteward