moved photon/DFT comparison utilities to a new file in devel/external
(#539)