Merge pull request #9 from JacksonTeh/master

Added writeProgram() and it test code
Added isFlashBufferNull into DelayedWrite
Modified the writeProgram by deleting one of the unneccesary parameter and corrected it test code
Modify masterMain.c and tlvReceiveFsm in SerialInterrupt.c
Added isFrame0Ready() isFrame1Ready() and modified getNonReadyFrame() and getReadyFrame() and its test code