Make yourls_is_shorturl() accept keyword and URLs. Fixes #1366