Bypass initial popstate - Alternative to #322
Bump version to 2.2.1
Refactor click handling, link checking, and url parsing into classes; ensure absolute urls used for cache keys and state objects.