Add debugger gem.
Add test case for rewriting ugoira URLs.
Save normalized source with post instead of original source.

Fixes #2294.
Merge pull request #2295 from evazion/fix-source-rewriting

Possible fix for #2294