Fixed relation viewing issues
CSV exports only code for relations
Switched to Fineupload for file uploading