Add sol.main.get_platform function. Fix https://github.com/christopho/so...

...larus/issues/562
I would prefer sol.main.get_os()