[server] Move some definitions to Params.h to fix a complicated dependency of headers.

Especially, I didn't want to include DBClientUser.h in DataQueryContext.h