Make createUID lightspeed

http://jsperf.com/creauid

Added some specs too.

safari reports createUID as top self time in its profiler, fixing it