Use global installations of dependencies

Projects where handlebars, underscore and json2 are dependencies of
modules others than require-handlebars may prefer using their existing
libraries installation and require.js paths setup.

The current patch uses common global module IDs for these dependencies,
instead of relying on the shipped ones.