Add preferGlobal option to package.json

Shows a warning if the package is installed without -g