switch base url of anno ce server

1. switch base url of anno ce server
2. convert dbHandler.js into dojo module, remove global variable
references.