Core: added column 'settings' in fields table, updated demo data, created lib AFile class to manage with file uploads.
Control panel: added model tool/files.php, updated sale/order controller to build download link for uploaded files in order details.
Storefront: updates for "file" field type.