Added ajax file upload
Return json for ajax file upload.
[httpserver] add CORS header for each ajax post response
Expose httpserver config