bugid: 93454 -- skip database logic in TitleBatch::loadRestrictions if no article IDs are available

This addresses a defect where a single referenced template causes this logic to issue a database
query that results in the application whitescreening without providing any error info.
Merge branch 'bugid-93454' into dev