Add an extend method to the di container

With it you can extend services without calling the service.
Syntax goes like: $app['view'] = $app->extend('view', function($view, $app) {
    $view->addData(array('foo' => 'bar'));
    return $view;
}