Added `log` function. Added tests.

The `log` function is still pretty basic.
It only performs one simplification in case of rational `arg`.
In SymPy some more simplifications are done on the basis of having
a `Base` other than `E`. This will be discussed in PR.