Imported Upstream version 0.4.0
Update Debian patches
Update changelog