added first implementation of the JavaScript SDK
Merge branch 'master' into js-wip

Conflicts:
	apiary.apib