Fix thumbnails on /3/

The regex was matching '3' as a timestamp,
embarrassing. Also took the opportunity to
update to 4cdn urls.
Remove broken cached thread data

It can probably be properly done with
replaceState and the history api, but I don't
want to bother fixing it now.