Added ability to add sprintf variables to JText string [J2.5.x]

Tracker item: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30370

This is the Joomla 2.5 PR of https://github.com/joomla/joomla-cms/pull/880