Improved compilation specificity.

Specifically, permitted files directly residing in overlays to specify whether
they should be compiled before or after overlay suboverlays.

Also split :define_function_if_pathable() into two high-level functions, one
accepting a list name and the other not.