perf: add faster uuid generator - adopted from angular

See JSPerf example: http://jsperf.com/angular-selection-uid