Only require puppet if we need the http pool from it
Only return a list of node names by default in node query face

The option --node_info is introduced to make it possible to return full
info. Defaults to false.
handle empty list of facts

return all facts if the list of facts is empty