Non 200 responses now throw exception.
Merge pull request #363 from square/dimitris/responsex

Non 200 responses now throw exception.
Fix javadoc.
refactored the contacts photo retrieval to allow actual photo uris as well. The previous implementeation only worked with contact and lookup uris.
refactored the contacts photo retrieval to allow actual photo uris as well. The previous implementeation only worked with contact and lookup uris.
fixed code style
Merge pull request #368 from copolii/master

Handle actual photo uris
Code format and fix for lookup uri.
Merge pull request #369 from square/dimitris/more-fixes

Code format and fix for lookup uri.
Enable resource loading from android.resource URI.