remove deprecated %n and %l format specifiers; version 0.7

* '%l' and '%n' were deprecated in I07c6c7856. Remove them.
* Bump version to 0.7.
* Also fix silly test failure.
* Some unrelated linting.

Change-Id: I1a6336c00f07d91249e56f0c53ff55a2a585cb2c