Make acts_as_list more compatible with BINARY column

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'"

---

Note that I didn't add any new test case to cover this, as that would mean I need to add new dependency to the project. However, I've tested this patch against my project that use https://github.com/jashmenn/activeuuid gem and it works perfectly.