[5.0] Fix CLI Dependencies

Automatically instantiate a Request object if it's required. (Useful when running from the CLI where it would not already be instantiated.)

ServiceProviders using objects (eg. URLGenerator) which depend on a Request object were squaking due to receiving NULL instead of a Request object.

[See here.](https://laracasts.com/discuss/channels/general-discussion/laravel-5-service-provider)
See

```php
       /**
	 * Set the application request for the console environment.
	 *
	 * @return void
	 */
	public function setRequestForConsoleEnvironment()
	{
		$url = $this['config']->get('app.url', 'http://localhost');

		$parameters = array($url, 'GET', array(), array(), array(), $_SERVER);

		$this->refreshRequest(static::onRequest('create', $parameters));
	}
```

Now, compare that with `Request::capture()`.