add somelogging when [un]archiving doesn't work
clean up conditional foreign key stuff for rails 2/3 dual compatibility
version bump