Updated code for new boundary/block restricted checks
(refs #2757)
Added tests for new boundary/block restrictable id checking
(refs #2757)