fixes the problem with perceived not mocked xhr call in tests

fixes the problem discussed here: https://github.com/discourse/discourse/pull/1642#issuecomment-28307514
(Instead of using low level xhr mock via sinon.server I've used higher level one, by mocking Discourse.ajax method - this prevents ajax test helper from perceiving this mock as a real non mocked xhr call)