Add Initialize/Terminate method to Platform base plugin
The platform base plugin holds a smart pointer to each platform object created in a static variable what cause the platform destructors called only on program exit when other static variables are already destructed. With this change the destructors are called by lldb_private::Terminate() before the exit of the program.
+ Fix DebuggerRefCount handling in ScriptInterpreterPython
The issue pop out during the investigation of a resource leak (port forwards) in platform android caused by the fact that a static variable in Socket.cpp is destructed earlier then an instance of PlatformAndroid.