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.