Prepare for functional units by allowing subclasses to get priority
Introduce functional and logarithmic units; test cases for latter
Name change forward/backward->to/from_physica; more docstrings and comments
Changes following rebase: ones_like, no CompositUnit._simplify()