Debian package metadata

As side-effect modified Makefiles:
* common targets moved to top-level Makefile
* disables -Wl,-rpath, because it breaks normal library search
* Changed -std=c++0x -> -std=c++11 (reported problems with gcc 4.9)