patch per recommendation on github issue
more changes to uuid.rb from PR on main repo for AR 4.0 support
Merge pull request #1 from idibon/support-ar-40

Add support for ActiveRecord 4.x