By section 7 the court has 'full power to hear and determine all questions in cases before it relative to the title to the land the subject of such case; the extent, location, and boundaries thereof, and other matters connected therewith fit and proper to be heard and etermined, and by a final decree to settle and determine the question of the validity of the title and the boundaries of the grant