updated environment files, actionmailer config and postgres vs mysql RANDOM handler