Fix deserialization of RegEx enabled properties

Fix type mismatch for RegEx (introduced in 6e50301 - my bad, sorry)
Merge pull request #128 from kjac/RegEx-model-fix

Fix deserialization of RegEx enabled properties
Add/move dynamic classes for targeting of custom behavior
Merge remote-tracking branch 'upstream/master'