set window.location properly
use replaceState instead of pushState, and use the full server url.

The full server URL is needed to make DDP work.
Merge pull request #4 from marbemac/master

set window.location properly
enable hot code reload
Merge pull request #11 from silently/master

enable hot code reload
pass currentPath to persist through hot code reload
currentPath adjustments

fix implementation with ‘string’ type check.
Merge pull request #15 from cdoe/current-path

pass currentPath to persist through hot code reload