use curl instead of ajax

modified webservices REST search using curl within the
files....worker.php is no longer needed at this point (maybe? probably?
TBD....)