Merge pull request #31 from stefanpenner/master

throw Errors not just strings.
transitionTo and paramsForHandler treat string/number as params

`transitionTo` and `paramsForHandler` now treat string/number
as params that will be passed to model. This is useful for
when you want to call transitionTo, but don't have a model
to provide, don't want to provide one, or want to unify
model loading/resolving with however `model` decides to do
this.
handleURL can handle slashless urls
Merge pull request #33 from machty/slashless-urls

handleURL can handle slashless urls
Merge pull request #32 from machty/transition-to-params

transitionTo and paramsForHandler treat string/number as params
Transitions returned from beforeModel/model/afterModel hooks aren't treated as pausing promises
Merge pull request #35 from ghedamat/return-transitions-in-model-hooks

`Transition`s returned from beforeModel/model/afterModel aren't treated as pausing promises
Use es6-module-transpiler and update to latest ES6 module syntax.
Merge pull request #36 from eventualbuddha/use-es6-module-transpiler

Use es6-module-transpiler and update to latest ES6 module syntax.
Added node_modules to gitignore
Fixed string/number params issues

- Fixed isActive not working properly using new string/number
  format (fixes linkTo active class in Ember)
- Fixed unnecessary post-transition `serialize` invocation when
  string/number param is provided.
Merge pull request #37 from machty/params-fixes

Fixed string/number params issues
Making it clear in the README that you need to implement your own handler lookup.

Changed all references to router.handlers into myHandlers. This makes it clear that myHandlers is something created by the programmer, not this library. Also providing an implementation of getHandler the first time handlers is mentioned, making it easy to figure out what myHandlers actually is.
Merge pull request #38 from augustl/readme-gethandler

Making it clear in the README that you need to implement your own handler lookup.
fix typo in README, prmise -> promise
Merge pull request #41 from raycohen/fix-typo

fix typo in README, prmise -> promise
remove duplicated handleError catches from the before/after model promise chain
Merge pull request #42 from raycohen/transition-promise-simplification

remove duplicated `handleError`s from the model validation promise chain
Number 0 is treated as param

Before this, transitionTo('foo', 0) wouldn't treat 0 is a param
to `model`, but was causing errors due to improper/unnecessary falsy
logic.
No-op transitions don't overwrite URLs

This avoids unnecessary URL-overwriting which was causing some problems
in certain corner cases where an error route (which doesn't want to
overwrite the URL) was being redirected back to and incorrectly
overwriting the URL.