Add ability to do custom rewrite of JS files.
Merge pull request #19 from vonrosen/ari-3762

Add ability to do custom rewrite of JS files.
For https://webarchive.jira.com/browse/ARI-3680
Merge remote-tracking branch 'refs/remotes/kngnie/ARI-3777'
Merge branch 'ARI-3794'
Merge pull request #21 from vonrosen/ari-3680

For https://webarchive.jira.com/browse/ARI-3680
log uncaught exceptions from replay/query with stack trace at WARNING level for easier troubleshooting.
Merge branch 'master' of github.com:vonrosen/wayback
Merge remote-tracking branch 'upstream/master'
Fix for additional https rewriting that is needed in proxy mode.
Resolve conflict.