Allow toPercentage to localize output.

Actually fixes https://github.com/cakephp/cakephp/issues/1955