First working version without any dependency on docker source.

This version has extensive changes and should be checked thoroughly
against any branches.

@ratzikis @nordseick @tcolar
I think the idea is that it's easier for devs to work with.