use "https-proxy" before "http-proxy" or "proxy"

Now that we have to fetch from https, we should check for and use the https-proxy setting first.
Fix Cannot install with auth proxy.
Fix fail install with non-auth proxy.
Progress Bar
Fix coding style error.
Bump version to 1.9.8-9
Code Style and Enhancements
Fixing install.js when npm link is called.
Currently npm link calls install.js but provides it with a bad path as several files that being with "phantomjs" exit in the npm root folder (for global calls). Therfore, "which" incorrectly resolves the path, giving a mistaken path to the promise. A simple check to make sure that the path isn't resolving "phantomjs" immediately after "npm" clears up the issue nicely (i.e. the path does not contain the substring "npm/phantomjs", as the correct file will always exit within node_modules of the npm folder. If the culprit substring isn't present the file writes, if it is, it doesn't.
Fix style issues introduced in #184
Bump package version to 1.9.7-10
Bump package version to 1.9.7-11
Bump version to 1.9.7-12
Put all the global npm-install detection in one place. Fixes #194
bump phantomjs version
go back to the original way in #184 of detecting phantomjs global install
use strict-ssl setting from npm configuration
add documentation on common troubleshooting problems
add docs on strict-ssl
Update package.json
Updating request module version

**request@2.40.0** was released to fix a recent security issue w/ **qs**. See mikeal/request#992 and https://blog.liftsecurity.io/2014/08/06/denial-of-service-in-qs