T2947
alias-server was running into issues where mongodb insertMany method combined with no double-inserting existing aliases was causing the insertMany method to fail.
This diff introduces a new function, getValidAliasTxsToBeAddedToDb, which isolates the aliases to be added before calling the insertMany db method. In testing, this corrects the issue.