Added 1 sided number caps

Can now specify as:
promptForNum(text, min)
promptForNum(text, nil, max)
//in case you didn't notice, I switched the ... in this file (original pull request).