Support extended flag for user history.
Unify episode and movie history entities into HistoryEntry.

- Drop EpisodeHistoryEntry and MovieHistoryEntry in favor of a single HistoryEntry entity.