Refactor|libcommon: Reworked more logical episode + map number lookups using Uri

There are now very few places where the logical numbers are still
relevant (ACS and network deltas being the main cases).