Add cache functionality to Capsule

I got an 'Undefined index: cache' error while using Illuminate\Database outside Laravel.

DatabaseManager tries to access $app['cache'], but Capsule does not put 'cache' element into $app.