Fix getter of params and session variables.

Hello there.
First thanks for this lib. Another one time-saver.

For me params works only with this fix. `typeof err.params  === 'object'`

Chrome 30.0.1599.66. OSX.

Tried all. Here is how i set it. Tried to set it in loop, because this bug ($route.current.params already object).
```coffee
err.params = new Object()
_.each $route.current.params, (v, k) ->
  err.params[k] = v
```
This is my example params object:
```js
{
  "nodeId": "mrcr4.ru",
  "organizationId": "somename"
}
```