Implement api based on moment.js example docs
Merge branch 'master' of github.com:mansam/when

Conflicts:
	.gitignore