use `id -P` on OS X by default

it's faster
code style
fall back to git on windows - fixes #1
fix Windows detection when `wmic` returns empty

and reorder to use git first
0.2.0