added output_dir option to Pipeline.run
bumped version to 0.3.4
Merge branch 'basedir' into develop