Restore Java6 compatibility

This commit restores Java6 compatibility as only one helper class is
used and can easily be replaced. This allows to use jInstagram in more
environments.
Merge pull request #45 from snicoll/restore-java6

Restore Java6 compatibility