critical bug using router server side

-initialization of dispatchedUrl variable uses windows object, this variable have to be set only in browser context.
Merge pull request #5 from mpipet/patch-1

fixes server-side bug