Move platforms to pleaserun/platform/<platform>.rb

Also started working on doc comments as well as style fixes.