More refactoring in Application.php. Whoop!
OK, $app->run() should not be in bootstrap.php. Fixes thumbnails.
$app -> $this
Merge branch 'master' into role-based-permissions