Merge pull request #73 from rhyolight/log-lines

/logs outputs last 100 lines by default, override with ?lines=X
Counting output lines better in html output.