Added main function to tskdbdiff so it can be called directly.