Add a while command, fixes #385

A command like if that loops!
Add a while loop cap to the config

A way to control the while loop limit. We don't want loops to go on
infinitely, but we don't want to restrict them too heavily either...