Made runbot slightly smarter and less 'hacky'

Made runbot detect if Lua was installed, so that it would not infinitely loop if lua was not installed on the machine that it is running from.