Release console when starting the simulator

Change detection logic of .net fx. Now we consult the registry before executing the affected command

Fixes http://teampulse.telerik.com/view#item/281473
The .net detection code is Windows specific and I am not sure it's place is in common. Maybe I should introduce a platform-specific common?