Add version 2 in get_stats
Fix dns_name param for machine.info when not provided
Fill in rest of the documentation
Merge branch 'new_client'