Add upstart init script template, and consul_agent library.