Use clone to copy class methods in 1.8.7
Use clone to copy class methods in 1.8.7

In Ruby 1.8.7 (but not 1.8.6 or 1.9), Object#dup does not copy an
object's singleton methods.  CUrrently, resources_controller exposes
this difference with a duped module that lacks the included callback of
its original.  This can be worked around by simply invoking #clone
instead, which does not suffer from this problem.

ianwhite/resources_controller,ianwhite/resources_controller,Alliants/resources_controller