Fixed error handling for new reference form
Merge branch 'master' of github.com:unepwcmc/SAPI

* 'master' of github.com:unepwcmc/SAPI:
  changed language code to iso_code1 in plants common names
  removed trailing commas from common names file and added UPPER to join conditions