Limit the height that is returned from the platform server

Limit the size of the initially inlined image, for fewer bytes to download (https://mifosforge.jira.com/browse/MIFOSX-1324);
Add the ability for users to see the full size client profile image in a dialog (https://mifosforge.jira.com/browse/MIFOSX-1142)

This change requires the platform image loading to support maxWidth/maxLength (added in https://github.com/openMF/mifosx/commit/f9dfd409db67c3ee9276731b3593bc33985750d9)