Added getEventEmitter method to abstractserver
Updated tests
Lotsa bug fixes and updates