specifications.json is now an object, rather than an array.

This will allow for easy lookup of individual types, as dicussed in #3.
Use object-key lookup to check for compressibility.

JSPerf reports this as being 1.5+ times faster than using the regex.
Updated tests to work with 0559b29