DS-1360 Porting advanced embargo function to JSPUI

https://jira.duraspace.org/browse/DS-1360

This is a porting the advanced embargo function to JSPUI. I think it include all fuction to supoort the advanced embargo for JSPUI.