added option to conditionally flush an LSM index when it is being deactivated; added missing file from previous commit

git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_lsm_tree@2702 123451ca-8445-de46-9d55-352943316053
7 files changed