Make sure updateFields() is called before setDisplayField for new vector layers (fix #8311)
Fix indexOf checks in setDisplayField, make sure they are case insensitive
Merge pull request #804 from nyalldawson/bug_8311

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