BuildSystem: Enable defines based on heuristic.

 * Currently very basic check only based on package name. No version and
   version relation check at the moment.
 * Guanako: Fix return value of add_define.
 * ValamaProject: Add helper method for guanko_project.get_context_packages().