using binary search instead of regex

Re. SLD

Benchmarking at:
<http://jsperf.com/uri-js-sld-regex-vs-binary-search> (I "reverse-cheated" for the benchmark, meaning I applied trivial code used in the new version to your version as well, so the main difference is really regex vs. binary search, I didn't want the trivial code to hide the real differences between both approaches).

Speed is improved but I especially value the memory footprint improvement:

Regex-based SLD = 542K
Binary search-based SLD: 27K