TraceInfo: fix RunTimeNanosec retrieval, add AutoCommit
TraceInfo: fix RunTimeNanosec retrieval, add AutoCommit

Also change type of EventCode to uint32 so adding AutoCommit
is "free" = does not enlarge the TraceInfo struct.
32 bits are more than enough, since only 4 (four) are used now.

xeodou/go-sqlcipher,accense/go-sqlite3,lyonel/go-sqlite3,mattn/go-sqlite3,helight/helight_code,accense/go-sqlite3,mattn/go-sqlite3,lyonel/go-sqlite3,accense/go-sqlite3,helight/helight_code,danderson/go-sqlite3,lyonel/go-sqlite3,xeodou/go-sqlcipher,helight/helight_code,xeodou/go-sqlcipher,helight/helight_code,helight/helight_code,danderson/go-sqlite3,helight/helight_code,danderson/go-sqlite3,helight/helight_code,helight/helight_code,mattn/go-sqlite3,helight/helight_code