Add loan state transitions and transactions
Merge pull request #123 from mifoscontributer/loanactions

Add loan state transitions and transactions