Updated the dependency generation with better dependency creation for cmake, pkg-config and xgettext, and conditional dependency for pandoc.

Moved to valac-0.20 dependency to allow to be installed as-is in ubuntu.