Issue #42 A better way to manage the version on install

Yep, indeed. 
Moreover, would it be good to rewrite these regexes for higher minor/patch versions compatibility ?
I mean, on the line 126, changing `/^(2\.\d\.\d{1,2}|2\.\d)$/` for `/^2\.\d+(\.\d+)?$/` ? It's more readable to me but I don't know if it's a better practice for other developers :/