Added a type field to the media event for storage. Modified the playlist player to send the 'Completed' event tag when an advertisement completes. Modified the media events report to include the event tag. Modified the media report to include the reference and charge fields.