replace tep_session_id() and tep_session_name() calls to native equivalents
replace tep_session_save_path() calls to native equivalent
remove tep_session_close() function, remove call in application_bottom as session_write_close() is being registered as a shutdown function when the session starts
Merge pull request #155 from haraldpdl/superglobals

superglobals - sessions
replace tep_session_is_registered() with isset()
Merge pull request #156 from haraldpdl/superglobals

replace tep_session_is_registered() with isset()
replace tep_session_unregister() with unset()
Merge pull request #157 from haraldpdl/superglobals

replace tep_session_unregister() with unset()
replace global $sessiontoken scope with $_SESSION
replace global $cart scope with $_SESSION
remove $_SESSION from global
Merge pull request #158 from haraldpdl/superglobals

Superglobals - session variables
replace global $languages_id scope with $_SESSION
replace global $language scope with $_SESSION
Merge pull request #159 from haraldpdl/superglobals

Superglobals
Merge branch 'optimizations' of https://github.com/haraldpdl/oscommerce2 into haraldpdl-optimizations

Conflicts:
	catalog/contact_us.php
	catalog/includes/classes/order_total.php
	catalog/includes/functions/general.php
	catalog/tell_a_friend.php
Merge branch 'haraldpdl-optimizations'
Merge pull request #161 from haraldpdl/optimizations

revert some changes