Merged hyracks_dev_next r1127:r1164.

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