Added package-discovery cmake scripts
Added the main and the library-compilation cmake scripts
Removed explicit dependency on postgres version, removed unneeded logging