fix ConcurrentModificationException triggered by jsf

- refactoring
- fix an issue where a field blur event in jsf triggers an ajax validation call, while another selenium action triggers another server call, the server will in error state