Added capability to wrap d3 as an AMD module.

To generate a wrapped d3, do:

    $ make MODULE_TYPE=amd

The wrapped d3 will be found in d3-amd.v2.js and d3-amd.v2.min.js.
Merge branch 'amd-module' of https://github.com/DrillingInfo/d3

Conflicts:
	Makefile - resolved manually