Added support for Rails i18n

This should do it, and fall back to the previous functionality for non-Rails models. crafterm/comma#48