[MOD] raise an error if invalid max was used for random:integer()
[FIX] XQuery, Random Module: raise error for invalid input:
      http://docs.basex.org/wiki/Random_Module