(1) Where mortgaged property in possession of the mortgagee has during the continuance of the mortgage, been improved, the mortgagor, upon redemption, shall, in the absence of a contract to the contrary, be entitled to the improvement; and the mortgagor shall not, save only in cases provided for in sub-section (2), be liable to pay the cost there...