fixed state validation

transaction state is a string and its compared with a number. so, lets get the state as number on initialize
adding tests to validate that state attribute for Report object can be numeric or string. IPNv2 sends an string
Merge pull request #5 from carlaares/master

fixed state validation on report