Xhr refactoring

All xhr in OSE now return deferreds