Merge pull request #15 from ololobus/v1

Доработки в uri
Ignore popstate event when return from other site
Merge pull request #16 from ololobus/popstate-fix

Ignore popstate event when return from other site
Normalize url before referer check in the location block