Fixes gh-2

- added possibility to specify if used with a db
- set dependency to rpec-pupet to pre 1.0