source code for my mass tag replacer for tumblr (http://dev.goose.im/tags/)