code cleanup
-removed unneeded visitdecl function
-remove unneeded ifstmt handling in translatemngr
-unified translatemanager function interface
-adapted visitor code to new translatemngr functions