Fix globalize_locales and globalize_attribute_names inheritance
fix typos, closes #6.