WL#2892: Add bit arrays of used fields in query (for handler in prepare phase)

Affects: Server-7.1   —   Status: Complete

The task is to add bit arrays of used fields in a query and 
give this information to the handler during the prepare phase.

Rationale
---------
Code cleanup task requested by Monty.