Move flag-related code into new pkg package

It was me the whole time. Fixed in https://github.com/coreos/etcd/commit/4a65813a6667f3eb85cfc88304cb8195cafdaebf