Attachments in edit as table (License & Device)

Moved duplicated (between license & device) html to seperate file and used.
Added:
- js fn toggleChildDisplay,
- new model field Attachment.uploaded_by.