Added textAllCaps attribute. As the one added in TextView in API 14, it allows to set upper case to tab titles.
Extracted Locale as a class attribute.
fixed formatting and uppercase logic