query_nodes: Add ability to fetch a fact instead of certname

second argument specifies the fact you want to return.
Fix some spelling
Add spec tests
Change old functions to use versioned API URL
Only return array of node names by default from query_nodes
Update readme a bit
Release 1.0.0-pre2