Added a lot of options for the td-agent.conf file

The current td-agent script has only minimal support of configuration settings. I added a few more and changed the ubuntu install to use the ubuntu install method that is used in the current script.