Bootstrap+mr

This replace the two previous pull requests on the bootstrap.

I have now created a protocol for injection dependencies at run time. This should give us the flexibility we need for dependency injection.

There is more work to be done on the tests but that will have to wait for later.

It would be interesting to see if we could port this fix to montage 0.12 for backward compatibility