Refactor Event inspcetor config to use template

This commit refactored event inspector config management to use a
teamplate. Since it is not a big file, the use of file_line was
uneccessary and overly complicated. Along the way I was able to add more
support for other settings too.