WL#6047: Do not allocate trx id for read-only transactions

Status: Complete

Read view creation is expensive. Two optimisations have been made over the past 
year that mitigate the problem:
 
 1. Special handling of auto-commit-non-locking-ro transactions

 2. start transaction read only; explicitly

However, for users to take advantage of these improvements, they have to use 
autocommit or explicitly make the changes to their code to tag the transactions as 
read-only. START TRANSACTION READ ONLY also has a network and parsing overhead.

Compatibility changes:
Because transactions are not assigned a transaction ID unless they are determined 
to be read-write transactions, the "SHOW ENGINE INNODB STATUS" will print an 
identifier that will be unique only within the context of that invocation.