Implemented missing enviroment functionalities

add: Enviroment deep copy

Fixed some issues with list nodes deallocations

oops: Better allocation policy during setup
oops: Delete replaced/collapsed S-Expression node when evaluating