defineLocale

Adds possibility to add custom locales dynamically (see #206)
Added test

First version.
Test fix

Second service...
Test fix 2

stupido...
Merge pull request #295 from bambuca/master

defineLocale