Add install/testing framework

Mostly works, but there's no tests yet.