Update App.php

Refactor/clean up some code, but still 100% compatible with bulletphp.
Get rid of the `_handleResponse()` method and rewrite `response()` method.
Additionally, create a `responseFactory()` method which is used by `response()`.