Created a function which checks if there is a folder with the given identifier
LILY-193: Made some code consistent with the rest of the application and implemented get_full_folder_name_by_identifier
LILY-193: Moved archive button to same button group as the other buttons. Also fixed some JavaScript