Fix Key Value Config import and export

added missing import functionality and fixed PHP 5.6 complains about calling non static method statically