lcproc.tfa: fix various bugs, add process_template_lcs kwarg
lcproc.tfa: fix various bugs, add process_template_lcs kwarg

waqasbhatti/astrobase,waqasbhatti/astrobase,lgbouma/astrobase,waqasbhatti/astrobase,lgbouma/astrobase,lgbouma/astrobase