Main code rev. 1700 and rev. 1701

rev. 1700 (Added workflow for MARC download notifications) and rev. 1701
(Make null ranks sort last when going through local resources)