Preliminary attachments support

Added a partial Filespec support
Added getAttachments in API
Added a new attachments view in UI