In me absence of a contract to contrary, the mortgagee has at any time after the mortgage-money has become due to him, and before a decree has been made for the redemption of the mortgaged property, or the mortgage-money has been paid or deposited as hereinafter provided, a right to obtain from the Court a decree that the mortgagor shall be abso...