fixes #2155 - add --push-facts arg to ENC scripts

Extends ENC to be able to upload facts for all hosts, replacing the old
push_facts.rb script and keeping comms logic in the same place.
Added headers to templated files