Reinitialize scopes on table name change [#49]

In rails 3.x lambda from scope keep the context of the environment in
which it was created. Thats why we need to reinitialize scopes.