Resolve __random button selections only after all buttons have been selected

Fixes #1157.

Requires database update 01157_random_button.sql

http://jenkins.buttonweavers.com:8080/job/buttonmen-blackshadowshade/377/
Good catch. I'll do an additional check to see if any of the buttons in $game->buttonArray is empty, and if not, I'll return.