Add LintFactory for "doLint".

- Use factory to determine the type of Linter. Used so that the erorr
  list can be retrieved before we exit program.