Added file input fields in activity editor.
Refactored activity cells and editor according to jQuery conventions.