Fixed move operator

The old implementation of move operator will break the iterator when the
array include the reference. (#115#issuecomment-48591931), this patch
fixed it.
Merge branch 'valuector' into my_branches