Use BaseController

To work with both 4.0 and 4.1
Fix BaseController $app instance

Doesn't properly reflect in 4.0, so fixed it like this. Probably not the
prettiest way.. See #187
Give notice for publishing assets
Update changelog
Add helper functions
Add license badge
Update readme.md
Collect data for non-html responses

For example, generated pdf's etc.
Update changelog
Reformat all the stuff

Thanks to PHPStorm PSR-2
Revert "Update .gitignore"

Add 'debug' alias to twig extensions, to match the debug helper.
Update changelog
Remove extension from AssetController

Fixes #189
Update changelog
Merge pull request #3 from barryvdh/master

Update from origin