Adopt ISO syntax for logarithmic functions

https://code.google.com/p/speedcrunch/issues/detail?id=381

Conversions in this change:
    lg  -> lb
    log -> lg
    ln  -> ln (was already correct)