Control panel: implemented interface for adding 'file' type global attribute, added admin/system/uploads directory.
Core: added column 'settings' in global_attributes table, updated demo data, fixed type in sql queries.
Storefront: implemented file uploading and file validation for product options.