Improve and refactor the example bot

This adds node.js remote code execution in a safe way and makes smaller
fixes and improvements to the test bot. Operations are still blocking,
which is pretty bad, but that'll improve with time.