Add new mission type with support for HAM-by-reference

@zicodxx: please review the proposed implementation of indirect HAM loading.  If you like it, merge it or say so and I'll do it.  If there are problems, I'm happy to rework it.