use string.format instead of % string formatting

To support sublime 2 and 3 you will have to use the string.format method which is
compatable with both python 2.6 (st2) and python 3.3 (st3).  I have only tested this
with sublime text 2.