Added acf_format_value function and removed $template from format_value filter

Signed-off-by: Elliot Condon <e@elliotcondon.com>