Fix starting ios simulator

Properly handle optional function parameter

fixes http://teampulse.telerik.com/view#item/274056
Merge pull request #49 from telerik/totev/fix-ios-emulator

Fix starting ios simulator