add a command line parameter to initiate data dumper

add output_dir to argparser, when output_dir is empty, ignore data
dumper
add memory holder and memory dataprovider, fix off a bug when training subnet