Using indexOf() instead of Regexp()

Performance improvement seen at (along with the intermediate experiments using binary search):
http://jsperf.com/uri-js-sld-regex-vs-binary-search/4

Memory footprint on my 32-bit OS:
Regexp: > 500K
indexOf: < 20K

A test has been added to ensure all SLD are correctly processed by the new code.