Puppet plugin can get data from puppetdb-api

Changed puppet data source from ralph-db to defined chain, which is this:
The chain:
- try get data from puppetdb-api
- then try get data from ralph-db

``None`` here is not required. It's default value when specified key doesn't exist.