Adapted to s3 standard

* Script forever.logcat.sh adapted to follow s3 standard code-convention.
* logsim.sh added. A log-simulator attempt. A much better simulator is HEMUL.

Change-Id: I70ab73c1f27071c2a73c0ac17ee604c3b4143861