Use AR::Base.quote_value to quote id value

This makes acts_as_list plays well with non-integer, non-string column,
such as UUID which sometimes stored as BINARY column.

    > 1.to_s
    => "1"
    > ActiveRecord::Base.quote_value(1)
    => "1"
    > ActiveRecord::Base.quote_value('bacon')
    => "'bacon'"
    > UUIDTools::UUID.random_create.to_s
    => "4d661a9a-6797-4ece-9824-6bb603e8254e"
    > ActiveRecord::Base.quote_value(UUIDTools::UUID.random_create)
    => "x'f74071abed0e413e915847d088c6835c'"
Merge pull request #116 from sikachu/ps-uuid-compatibility

Make acts_as_list more compatible with BINARY column