Core: fixed checkAttribute[s] for VOs

- now the checking of an attribute for VO runs only when the attribute is not null
  or is truly required (Task #1527)
Merge pull request #237 from jirmauritz/checkAttribute

Core: fixed checkAttribute[s] for VOs