Fixed getInstanceUrl() method. Added more tests.

The getInstanceUrl() returned a domain name if it was saved in the shared properies instead of an actual url.
That caused logging errors.
Merge pull request #86 from mdzyuba/one

Fixed getInstanceUrl() method. Added more tests.
This fixes #82, Added a new comparator that compares PaymentTypeOption based on the position specified by the mifos platform. So now the List is being populated with add() method instead of explicitly specifying positions of elements.
This is fixes #65
This fixes #81, which was similar to #82
This fixes #28 andd #84 - Applied a validation to keep a check on user if a transaction gets null input in the amount field it should not be processed
Merge branch 'master' of https://github.com/openMF/android-client into jesse/recurring