update to latest upstream 0.4.1

and debianize the project
based on work from Kiall Mac Innes (https://launchpad.net/~kiall)