Rails config for raise on missing translations

Add a config to setup whether raise exception for missing translation or
not.