Switch from Thor to Gli CLI

To be in sync with Machinery and to fix the same issues Thor was
replaced by GLI.