Fixed issue https://github.com/eugenekorpan/multitenant-mysql/issues/28

- changed patching of `ActiveRecord::Base.inherited` to alias chaining