Adding webservice availability and returning JSON

Requests for JSON get real JSON, made at "processing" part.
All JSON response has added header "Access-Control-Allow-Origin: *", so
components from outer domains can communicate freely.