update patterns for strip_files filter
update patterns for strip_files filter

- catch leading '/files' in href/src
- support regular links as well as images in markdown

ipython/ipython,ipython/ipython