Added support for database prefix

See https://github.com/mikelbring/tinyissue/issues/168

config.app.php:

```
...
'database' => array(
    ...
    'prefix' => 'table_prefix_',
),
...
```