ENH: Redirect github blob URLs to raw.github URLs

- Global REGEXes
- Factored out URI value parsing logic
- Doctest