The enumeration in sections two, three, and four does not limit or restrict the exercise of the general powers conferred in section one, in any proceeding where declaratory relief is sought, in which a judgment or decree will terminate the controversy or remove an uncertainty.