Make sure updateFields() is called before setDisplayField for new vector layers (fix #8311)
Fix indexOf checks in setDisplayField, make sure they are case insensitive
- fix #7441
- reset unit settings to original ones when deactivating OTF projection

- added OTF status (on/off) to mesuredialog title

- resets prefered units and selected srs
- when OTF transfo is deselected, this resets the units value to the
  original ones
Fix #8561 - Handle change layer in node tool
[postgres] do not update feature count if it was not set before
Merge pull request #804 from nyalldawson/bug_8311

Fix some bugs relating to display fields for new vector layers (fixes #8311)