Allow for resources to queried without type_

This will allow the user to query puppetdb for resrouces that do not
match a defined type.

---
It will still write to the log if both type_ and query are None. 
However it will allow for an empty type_ inlue of a query.