added imgur api v3 support for browsers with XMLHttpRequest