Implemented set command.
Merge branch 'chronicled' of github.com:substance/document into chronicled

Conflicts:
	document.js