Split out node updating logic into static method

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Add /nodes/unlock_many/

With a basic test

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