Use better plugin configuration method

Change
```python
@app.route('/inc', getproducts={'api':False, 'amount':1})
```
to
```python
@app.route('/inc', api=False, amount=1)
```