Added new bm_rand() function, in preparation for mocking of die rolls

http://jenkins.buttonweavers.com:8080/job/buttonmen-blackshadowshade/400/