Added cascade types (all, none, persist, remove)
At the moment cascade types is only considered by persist function
Cascade types are considered by remove function now as well