Renamed char to ch, avoid Closure Compiler reserved word

Closes #11
Add query param support
Merge pull request #9 from alexspeller/query-params

Add query param support
Simplify indexOf tests
Merge pull request #12 from alexspeller/simplify-code

Simplify indexOf tests
Give precedence to routes with more static segments.
Upgrade to 0.3.x of es6-module-transpiler.

Note that 0.3.2 seems to have a bug with globals, in which it cannot build
without at least one import named on the command line.  A nonsense import, which
is not actually used in the source, does not affect the output.

It is perfectly fine to remove `imports: {"__nothing" => "__nothing"}` for a
version of the es6-module-transpiler that does not suffer from this problem.
Merge pull request #14 from hjdivad/es6-module-transpiler-03x

Upgrade to 0.3.x of es6-module-transpiler.
Merge pull request #13 from xtian/static-precedence

Give precedence to routes with more static segments.
fix issue where trailing slash is removed for star segments
Prepare for publishing to NPM

* Update `package.json`:
  * Add `main` field, pointing to CommonJS build at `dist/route-recognizer.cjs.js`.
  * Update description.
  * Add version -- I chose `0.1.0` but perhaps it should be different.
* Add `.npmignore`, ignoring Ruby build files.
Revise approach to query params
Merge pull request #17 from tildeio/query-parmesan

Revise approach to query params
Update copyright year.
Merge pull request #18 from rjackson/update_year

Update copyright year.
treat QPs without value as empty string

?show => {show: true}
?search= => {search: ''}
Merge pull request #19 from raytiley/qp-string

treat QPs without value as empty string
[QueryParams] Support for Arrays

This adds basic support for Arrays.

The following URL: /?foo[]=1&foo[]=2 will generate:
`{foo: ["1", "2"]}` and vice versa.
Merge pull request #20 from raytiley/qp-array

[QueryParams] Support for Arrays
Merge pull request #10 from craigteegarden/star-segment-has-trailing-slash-removed

fix issue where trailing slash is removed for star segments