IMediaLibrary: Allow history to be filtered by media type

Fix #85
4 jobs for filter_history_by_type in 11 minutes and 37 seconds (queued for 9 minutes and 53 seconds)