port all JS sources to requirejs

everything is nice and modular, now.
Merge branch 'requirejs' of https://github.com/johnyb/ffmap-d3 into johnyb-requirejs
Merge branch 'search'

Conflicts:
	lib/graph.js