Merge pull request #8 from wsnipex/macros

[packaging] add debug package and copyright, use lto
adjust to new macros
fix lib names in addon.xml