Add tags to the persistant classes database (cf_state)

Adds a char[] to the end of PersistentStateInfo.
Add unit test.

Redmine #5017