Add array sql_modes in attributes for setting sql-modes server wide

this closes request #193