For DelayedWrite,
modify bufferHandler,added crossSegmentHandler,differentSegmentHandler,configurationDataHandler,isAddressInRange,isSameSegment,isConfigData and test code
For FlashBuffer,
added isFlashBufferNull and test code