Fixed #2: Used hasattr in order to check if a model has a certain attribute
Merge branch 'master' of github.com:infoeducatie/infoeducatie-ng