the UUID and PRNG functionality is no longer used inside ComponentJS, so factor it out (into its own library if necessary)