properly format URI's pasted to campfire

handle spaces
handle trailing asterisk

/cc @nextmat @mheffner