[Truffle] Move Class#=== to Module and simplify assignableTo.