Use consistent URI for lock server

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Properly query for multiple machine types

...in list_locks()

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Optimize some list_locks() calls

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Make far less requests when simply locking

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
internal task
Add unlock_many() and use it when possible

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Use Remote.shortname instead of regex

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>