CLSN-2020 move conditions directive on server side

setLastansSecondToken functionality added also setValueToken functionality in progress
Merge branch 'master' of https://github.com/algosystech/collosys