etcdhttp: add /v2/machines endpoint
http: allow GET, HEAD for /v2/machines
http: add allow func

For further extendability
http: add TODO for peers var
http: use sort.Strings
Merge pull request #1023 from unihorn/117

etcdhttp: add /v2/admin/machines endpoint