EppO/rolify — pull request #112 by intrica (2012-11-14 13:24:29+00:00)
Title: Fix for #75 - Add support for Namespaces

Now uses class.table_name rather than class_name.to_s.tableize in order to discover the name of the table being used.

Namespaces should now work if the class name is specified, for example, as

```ruby
rolify :role_cname => "MyNamespace::Role"
```
The join table in the role.rb file should be specified as such:

```ruby
has_and_belongs_to_many :users, :join_table => :my_namespace_users_my_namespace_roles
```

This change does not touch the MongoDB adapter, it may need one change where it uses tableize. I do no use it so would not be able to test.