Added generation of debug files on Linux/FreeBSD 

Also added generation of Debian debug package, but source path isn't correct yet.