Localization of wb_relative_dates with your corrections

I've made the corrections you told me to do :

Change $this->EE->lang->line() to lang()
Move the functions from config.php into the plugin and make them private