A much faster version of the usesguid plugin for Rails (uses MySQL to generate GUIDs)