Packaging

This is not 100% done. I'll wait until we've settled more on the interfaces and what not. But if you merge this you can basically leave debian/ alone after this point and I'll handle changes to it unless you want to learn how to make packages.