added dynamic loading of required runkit library and relative dying message
fixed tests and code to smaller code base
fixed tests and code for GlobalVariablesAdapter class