A west Belfast man has admitted planting a fake explosive device at Sinn Fein headquarters and causing a bomb scare at a contentious Eleventh Night bonfire.