LPS-31740 javadoc

Hi Jim,

as agreed with @epgarcia and @codyhoag, I've added JavaDocs for the changes in site / page template merging I've implemented some time ago as part of LPS-31740.

Thanks,
Josef