Refactor|libheretic: Improved -episode and -warp to support episode IDs

One can now specify an episode in textual, id form to both -episode
and -warp from the command line. Note that both options still behave
the same as vanilla if episode numbers are supplied instead.

Todo: Commonize this logic and apply to the other games.