fixed restfull to return async ajax objects -- use done end error methods of it to get result asynchronously; restfull divorced in api from backend, but restfull has more right, so we have to fix backend to match restfull api and make tests work for that