Made tests certain tests more robust, changed Random.state to Random.state_abbr to avoid some kind of private method name collision
added stub docs for Random.url methods
added random url & imgUrl methods
moved domain-related generation into domain.rb, including for email
eliminated mocha deprecation warning in tests