Use CoreStringUtils PadString instead of own impl now that its available. Add templated version of PadString that will accept bool, numeric types etc.