Debian packaging

Hi people. Thought this might help. It will work fine as a separate "debian" branch, if you like it better that way, or merged into master. Shouldn't disturb anything else if you merge it to master.

I'm planning to upload this to Debian main eventually.