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

...larus/issues/562
Arf, I choosed platform because it's a more generic term (and also the one used by SDL).
Should I change ?