Update model.coffee

Clean up defaults on disposal.
Merge pull request #792 from andriijas/patch-1

Update model.coffee
output event name for delegateListeners, for better debug
Merge pull request #794 from ktmud/patch-1

output event name for delegateListeners, for better debug
Allow linking to myapp.com/root/ when using root

I could be wrong, no tests except within my app, but it seems like setting a root option for the Router, like `root: "/admin/"`, then linking to `href="/admin/"` within the app, redirects to localhost/admin instead of localhost/admin/. I'm not sure if both of these checks are necessary (could even just do "url isnt root" instead of the current "url isnt '/'") but I wasn't sure if that would cause any chaos for other situations-
allow view events to be a function
call with context
Merge pull request #797 from akre54/view-events-fn

allow view events to be a function
test for this
Merge pull request #798 from akre54/view-this-test

test for this
#795: allow View::listen to be a function
Merge pull request #799 from jeron-diovis/view-listen-fn

#795: allow View::listen to be a function
add subscribeEventOnce to the EventBroker
remove arguments type checking
make mediator.subscribeOnce method readonly
add tests for mediator.subscribeOnce and eventBroker.subscribeEventOnce
grunt prepare already runs clean. no need to do it twice
Merge pull request #811 from akre54/no-double-clean

Don't double clean on npm test
allow remaining params to Route#reverse to be appended as querystring
params. Closes gh-810
some logic cleanup. move url splitting logic to queryParams.parse