build dll and seperate dll from testing program. Move test script to the testing program place
Remove warnings for conversion between size_t and uint32_t, make conversion explict; Change some datastructre to size_t.
Don't use DB internal IVFS inteface for testing code, instead use fstream.