Implemented translation functions

The WordPress approach has been used. The following functions have been
implemented:
- _(): default translation function
- _n(): plural version
- _x(): translate with context
- _nx(): plural version for context translation

The _ and _x ones accept variable arguments, which will be sprintf-ed
into the translated text.