Accept string as log scale tickFormat.

Commit d0441e6 introduced specifying the linear scale tick format as a string,
as by `axis.ticks(10, "%")`. This extends this pattern to log scales for
consistency.