ADDED header-redirect-mechanism.
FIXED getID()-check on non persisted models.
Merge branch 'develop'