Flush cache manager at command termination (fix #32)

Flush cache manager on kernel and command exception, too

Revert minimum-stability to dev

Reduce number of terminate methods
Output number of invalidation requests to console

Improve PHPDocs
Merge pull request #38 from ddeboer/console-terminate

Flush cache manager at command termination (fix #32)