WL#1810: saving/restoring environment information of VIEW

Affects: Server-7.1   —   Status: Assigned   —   Priority: Medium

Save and restore environment according to WL#941 
 
- review sql options 
- revieview sql modes 
- review all variables 
save/restore (or ignore with documentation) above objects which have influence 
on VIEW results / way of execution (for temporary table algorithm)