Update RandomKeyBehavior.php

Added function getNewId($className) This uses the random key function but also tests for uniqueness within the ActiveRecord table of the given class.