Ported gdocs URL checking logic from data explorer. Fixes #47.