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

...larus/issues/562
Use push_string(l, platform); that does the c_str() for you.