using binary search instead of regex

Re. SLD

Benchmarking at:
http://jsperf.com/uri-js-sld-regex-vs-binary-search

Speed is improved but I especially value the memory footprint improvement.