Fix issue where globalize breaks has_many through

Any time you were using where on a has many through association
with a model that doesn't use translates, an exception was being thrown
because translated_attribute_names wasn't defined
Merge pull request #318 from pwim/has-many-through-bug

Fix issue where globalize breaks has_many through