Since ec2api and metadata services based on greenthreading, it have to be initialized properly. This patch initializes it for cmd modules, which allows to debug services from IDE. Change-Id: Ic7ae69fbf5b58cfa4df822cd5d42f7c2cf45d848