device docs: collectGarbage and isSimulator; updated all platform checke...

...rs