Added optional lifetime when moving or banning resources
Fixed constraint resources set

* fixed documentation
* fixed set id creation
* added options validation