Added rudimentary option for reading a limited number of blocks using 'qrandom'

Thanks for the nifty library and command line interface. I slightly modified cmd.py to allow for someone to specify a limited number of blocks instead of running forever. Of course it only allows 100x100 granularity, but I find it useful for generating adhoc random bytes in shell scripts.