Kdb import merge

Brings the merging framework to the import command. I commented all the side_value tests because i couldn't find this value in any testdata. 
are you sure you want to throw away the other keys (they would get lost?)

additinal please check if this memleaks