Mihir|#1987|Taking the print template for registration card layout from app config
Mihir|#1987| Added handling for no layout, also changed some tests to insert mock printer object