Temporarily disable REST for Jetpack sites

It just doesn't work when the JSON API module is disabled.
Also, there are some issues where failed uploads don't show any error.
Enable Jetpack REST for debug/internal builds

fixes #2258
Drop the bracket :)
Merge pull request #2296 from wordpress-mobile/issue/2258-rest-jetpack-check

Enable Jetpack REST for debug/internal builds only