Added an optional default value to request->params()

This adresses issue #699.

```php
$app->request->params('myfancyparam', 'my default value');
```