Fix starting ios simulator

Properly handle optional function parameter

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

Fix starting ios simulator
Fixed Analytics settings service to accomodate the change in the comnmon lib
Merge pull request #98 from NativeScript/totev/wp8-emu

Fix starting of WP8 emulator (update to the latest common lib)
Install runtime from local path