Fetch plugins inside a zip.

Account for zips in which the plugin is inside a direcotry which is not named the same way as the zip itself.

See http://teampulse.telerik.com/view#item/262070
Merge pull request #503 from Icenium/totev/fix-local-path-plugin-install

Fetch plugins inside a zip.
Fix unnecessary adb server restarting

Update common lib where the following change is applied: In case the user had not specified image (--avd option is not used) when using emulate command, there's no need to retry restarting adb server in case there's at least one running emulator. We can use it directly.
Merge pull request #504 from Icenium/vladimirov/fix-adb-server-restarts

Fix unnecessary adb server restarting
Improve message for unable to emulate

Update common lib where the following changes are applied:
Improve message when android emulator cannot start. When the virtual device is using Android L and its RAM <= 512MB the emulator cannot start the application. Moved sleeping at the end of each retry when checking for emulator boot in order to prevent unnecessary 10 secs wait.
Merge pull request #506 from Icenium/vladimirov/fix-android-L

Improve message for unable to emulate
Add correct waits in dispatcher

Rollback commit: 3bbc0e3b8fa4b3496f72a473ab9ae99c4f90a214 dequeue method returns future, so it should have wait(). Also the action should have wait(). So we need two waits. This was breaking remote command.

Fixes: http://teampulse.telerik.com/view#item/278119
Merge pull request #507 from Icenium/vladimirov/fix-remote-emulator

Add correct waits in dispatcher
Merge pull request #507 from Icenium/vladimirov/fix-remote-emulator

Add correct waits in dispatcher
Merge pull request #509 from Icenium/vladimirov/fix-error-in-dispatcher

Fix missing () in dispatcher
Allow deploying ns projects to device
Merge pull request #511 from Icenium/fatme/allow-deploying-of-ns-projects

Allow deploying ns projects to device
Release console when ios-sim cannot start

Update common lib where the following changes are applied:
Add call for ios-sim --version in order to determine if Xcode and ios-sim versions are compatible. In case they are not, the command will return error - catch it and break the whole execution. Print the error message from ios-sim --version, but remove its stack first as any throw in child_process.stderr.on(...) prints its callstack automatically. So new option is added to errors - hideCallStack. In case it is true, the stack option is set to null.
Merge pull request #512 from Icenium/vladimirov/print-errors-from-ios-sim

Release console when ios-sim cannot start
Fix typescript compilation of default nativescript template
Merge pull request #510 from Icenium/fatme/fix-compilation-of-ns-typescript-template-project

Fix typescript compilation of default nativescript template
Fix provision -v command
Show ns samples in $ appbuilder sample command
Merge pull request #515 from Icenium/fatme/ns-samples

Show ns samples in $ appbuilder sample command
Clean temp dir on each ios-sim launch

When using remote command we are launching the ios-sim and installing app from the same temp folder. We should clean the temp folder before unzipping the new app as the unzip process will not remove files from old app.