Revert "Merge branch 'fixNewResource'"

This reverts commit 244ee390f27e5bc11755e65e0d410b56100b615c, reversing
changes made to ed6660410f99e8e5f320137b3a3c208c645bd61b.
Supporting overriding of default label class, with option in form:{ labelDefaultClass: 'xxx'}