added missing created/modified fields and key constraints.
Merge branch 'develop' of github.com:openeyes/OpenEyes into develop