Add graph.attachBefore
Merge remote-tracking branch 'origin/pr/324'

Conflicts:
	test/unit.graph.js
Removed extra spaces at EOF

...because pull-requester did not successfully run the command `grunt` before submitting.