added status validation for undo transaction
Merge pull request #571 from pramodn02/MIFOSX-634_2

Mifosx 634 2 - added status validation for undo transaction