Revised statistics API.
Now each module owns, at file scope, its own stats object. 
The module registers the stats object with the global statistics, which 
keeps a reference to it in the stats tree.
This should reduce the cost of keeping statistics to practically zero.
Use new stats API in NDB code.
Use new stats API in MySQL code.
Remove old stats API.
Various fixes for lint.