SConstruct: Fix for new ld versions
Move source files around, fix Makefile and make a proper CMake build system
Add install targets to CMake
Changes as per last pull request
Fixed scons stuff
Merge branch 'pr/n80_svenstaro'

Conflicts:
	Makefile.common