[Truffle] Implementing method #=== for ranges and improving error message in the exception raised by module keyword when the constant is not a module.