If entity is flagged has History concept attached, ActiveSince cannot be set to older date than last entry in entity_History table.
RegExMatch is modified to allowed empty values.
Additional tests for History concept added.