CC-5450 : Refactor Media Management (Classes/DB) in Airtime

Using a postgresql window function to calculate offsets in the playlist.
All times are formatted now to 3 decimal places.