Make Git and SSH true extensions

Isolate extensions with interfaces, add disable_{ssh,git,router} build
tags.