Updated api.md with node collection query

The node collection (/api/collections/nodes) supports queries against
hostnames and hw_info attributes. Added documentation of this including an
example.