Added a flag system for DataObject

This allows one to easily have separated data, such as user-controlled
settings, or system settings.