merged with failbot from pi

Added api and cleaned up node_modules et al