Added commands "distance" and "nextIp".

Version bumped to 1.3 (new features).
Extended testsuite and docs.

Revision [e2be9b2f86].

Pushed.