Merge pull request #1101 from eguaj/3.3-A4541

fix(GroupAccount): Implement clear() method to correctly flush/empty group's content (closes #4541)
test(getDocValue): Test use of Doc::getDocValue() with logical names (refs #4585)
fix(getDocValue): Allow use of logical names in Doc::getDocValue() (refs #4585)