Added requireIndexes demo, metadata annotation cache, restored db-check.
Demoes how to use class metadata from userland code.