[fix] check for app.config.get('database') in resourceful plugin

Fixes #72