WL#4813: PERFORMANCE_SCHEMA Instrumenting Stages

Affects: Server-Prototype Only   —   Status: Complete

Add EVENTS_STAGES viewed tables in the performance schema.   
Rows in the tables will have information about parts of statements   
(in progress or completed) for active users.   

What we say about stages applies mutatis mutandis to statements,
and stages might be the first nesting event which we
implement, so WL#2515 "PERFORMANCE_SCHEMA statements"
refers often to this worklog task.