Fix two bugs.
Sending of synchronous requests in JavaScript done.
Merge branch 'sharding' of ssh://github.com/triAGENS/ArangoDB into sharding

Conflicts:
	init-cluster.sh
Finally manual test is working.