Visibility of certain fields change based on value of datakind field. Revision history of study attachment is displayed correctly. FieldTitles are now fetched from the closest gui-configuration to the field being drawn. Conf and misc-json upload started.
Fixed conflicts in files.js. Also added view option and restore button on removed files. Modal title still needs an indication of the status but that's a minor issue.