Improved Maven related patterns in .gitignore.
Migrated LogFactory deprecated API usage.
Merge pull request #303 from ianbrandt/code-cleanup

Minor code changes