Text/HistoryItem/HistoryMedia::getState() unified. Text::getStateElided added. Tested with web page previews only.