Fixed developernotices - only show them in development mode, closes #1626.
Merge pull request #1674 from cmfcmf/dev-mode

Fixed developernotices - only show them in development mode