Scroll to anchor link id if link has anchor tag

Fixes bug that page dose not scroll to anthor id through turbolinks.
This idea is based on
document.locatio.href = document.location.href + '#hash_tag'
does not make page reloading but just pageYOffset changes().
Compatible for non rails environment.
Merge pull request #147 from YasuOza/non_rails_compatible

Compatible for non rails environment.
Merge pull request #146 from YasuOza/scroll_to_anchor_id

Scroll to anchor link id if link has anchor tag
Merge pull request #144 from reednj77/ie10-anchor-fix

Remove hash from XHR url - Fix #142
Fallback to not using turbolinks on error.

When there is an error fetching the replacement document the code should
try an old fashioned "full request".  This allows the browser to do
the things that the browser knows how to do in this situation including
hits to the applicationCache and error messaging.
added tests for offline/airplane mode
Merge pull request #158 from byliner/with_applicationCache_failover

With application cache failover
added aborted xhr in the event of page change request before xhr finishes
Merge pull request #160 from davydotcom/xhr-abort

If user clicks another link before xhr request finishes, it is aborted.
Disable after non-GET requests - Fix #79