MIFOS X - 1004

Added provision to modify Loan through API even if we pass only the principal.
JIRA: https://mifosforge.jira.com/browse/MIFOSX-1004.