Implement new model for ostbuild

wip.
does not have results dir yet or any "friendly api", to come.
this will probably break make and some other tasks.
if nothing else, we killed of jsondb. yay.