uploadLogo endpoint now also deletes the logo file from the CFR repo.
Added runEndpoint function to sparkl namespace and replaced all custom endpoint calls in the dashboards from $.ajax to runEndpoint.