Add composer config
Require generated autoloader from comporser
Do not use Spoon method to check if a file exists
Add the database service to the bootstrap
Merge with master
Composer: set correct space usage.

Do not mix tabs with spaces.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
Core: use the Symfony HttpKernelInterface.

Use the Symfony HttpKernelInterface. This basically means, Symfony in,
Symfony out.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
CodeStyle: replace spaces with tabs.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
Frontend: add base js kernel functionallity.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
JS: JS isn't parsed via PHP anymore.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
Core: extend the kernel usage.

From now on, the AJAX Requests and Cronjobs will go trough the
AppKernel.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
Redirect: return proper RedirectResponse.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
All: set correct redirect return.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
Core: disable RedirectResponse.

To enable the RedirectResponse, we'll need to alter the handling of
actions first. We should always expect a Response from our action.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
Redirect: don't return the redirect yet.

We're not using the HttpResponse object yet so don't add return values.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
Core: remove the index pages.

We're not using these pages anymore. This is handled by our router.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
API: let the API run via the AppKernel.

The API now runs trough the AppKernel.

Signed-off-by: Jelmer Snoeck <jelmer.snoeck@gmail.com>
Merge branch 'master' into symfony-kernel
Merge branch 'one-autoloader-to-rule-them-all' into bootstrapping
Remove tabs in favor of spaces