Merge pull request #340 from adrianboguszewski/master

Fixed MIFOS-6110
MIFOS-6077: Stack trace appears during switching site type
Revert "MIFOS-5789: Fixed reopened Declining Balance IR: Incorrect values after applying payment"

This reverts commit d21b8dfc617c2ad7efcb387f6bcca8c1b0baded2.
Revert "MIFOS-5789: Fixed Declining Balance IR: Incorrect values after applying payment"

This reverts commit da8f65f6a0c8fad5e7b082e5b482a6f1bf7d60fd.

Conflicts:

	acceptanceTests/src/test/java/org/mifos/test/acceptance/loan/RepaymentScheduleData.java
MIFOS-6101: Fixed apply adjustment on Declining Balance EPI with RecalculateInterest option enabled