Add client side os detection for install page

@jospoortvliet @karlitschek 

Need others to test this works on linux and Window. Works on Mac for me.