Added "detect includes" feature for wads.

Common data types with ability to include other lumps are now parsed to
find these lumps. There is no support for nested includes: the
additional lumps are not recursively parsed in turn, so as not to make
opening wad files too resource-intensive.