CB-7102 - Initial implementation of globalization plugin in Firefox OS

Partial. No currency and number functions
first is declared on top, remove var.