DEV: Add support for user-supplied jinja templates.

Adds support for a `/templates` directory in ipython profiles that can override the default jinja templates.

Proposed solution for https://github.com/ipython/ipython/issues/6856