Added method to Module to raise expected TypeError instead of NameError

This was the error before the change:

    NoMethodError: a MessageNotUnderstood occurred (error 2010), a Module does not understand  #'newRubySubclass:instancesPersistent:fixedIvs:'

This is the error after the change: 
 
    TypeError: wrong argument type Module
    
This is the code that belongs to it:

    class ProjectModel < MaglevRecord::RootedBase
    end

See the commit message for more information.