An illegal gas fitter has been prosecuted after he installed a gas boiler and left it in a potentially dangerous state because he did not commission it.