Format slot uptime duration
Small fixes to code style comments
Unit test for history cleaner + transcoder api - WIP