Add riot --version. Small cli.js refactor
Add riot --version. Small cli.js refactor

txchen/riotjs,cognitom/riotjs,marciojcoelho/riotjs,chetanism/riot,sylvainpolletvillard/riot,rasata/riot,crisward/riot,dschnare/riot,xieyu33333/riot,seedtigo/riot,duongphuhiep/riot,ListnPlay/riotjs,noodle-learns-programming/riot,muut/riotjs,marcioj/riot,davidmarkclements/riot,stonexer/riot,mike-ward/riot,marciojcoelho/riotjs,crisward/riot,dp-lewis/riot,marcioj/riot,beni55/riot,zawsx/js-lib-webcomponents-react-riot,GerHobbelt/riotjs,tao-zeng/riot,davidmarkclements/riot,madlordory/riot,rthbound/riot,baysao/riot,rthbound/riot,zawsx/js-lib-webcomponents-react-riot,a-moses/riot,GerHobbelt/riotjs,daemonchen/riotjs,dp-lewis/riot,qrb/riotjs,txchen/riotjs,AndrewSwerlick/riot,ttamminen/riotjs,rasata/riot,scalabl3/riot,AndrewSwerlick/riot,seedtigo/riot,xtity/riot,ttamminen/riotjs,madlordory/riot,muut/riotjs,joshcartme/riot,stonexer/riot,noodle-learns-programming/riot,a-moses/riot,beni55/riot,ListnPlay/riotjs,rsbondi/riotjs,qrb/riotjs,thepian/riot,xtity/riot,daemonchen/riotjs,sylvainpolletvillard/riot,chetanism/riot,antonheryanto/riot,laomu1988/riot,baysao/riot,tao-zeng/riot,duongphuhiep/riot,xieyu33333/riot,joshcartme/riot,dschnare/riot,mike-ward/riot,thepian/riot,laomu1988/riot,scalabl3/riot,antonheryanto/riot,rsbondi/riotjs