Add GLOBAL_VERSION tag handling

Change-Id: Ia0291f1f5a1eecf004482f2caf84a284fc35a94a
Reviewed-by: Iikka Eklund <iikka.eklund@digia.com>