rewrote Decision.isURL() for jira-2442
optimized performance
added test for illegal path characters
Merge pull request #205 from igal-getrailo/jira-2442

rewrote Decision.isURL() for jira-2442