Fix logging time

This fixes a bug where the time being logged is just incremented for
each request. We use the ```cleanup_view_runtime``` hook to reset the
runtime correctly and log the correct time.
Merge pull request #168 from samuel02/log-correct-runtime

Fix logging time