Added global YCM flags generator.

Modify the repo to reflect the changes.