fixed symlink paths for protractor testing
added support to extract tar.gz for linux