refactored DBot.prototype.t to add new error case

fixes bug where a string exists, but not for the selected language, or the default language of "en". now returns an error instead of killing the bot.

additionally fixed issue #287 with a simple encodeURIComponent()