Fixed synonym upgrading incorrectly. Handled name reassignments on input. Added tests.
Merge branch 'reassignments_rework' of github.com:unepwcmc/SAPI into reassignments_rework