#57: re-factor to make it easy to deploy and support other web technologies.

...ies.

- the displayable module knows how to display figures
- the deployable module knows how to deploy figures
- favor os.sep of hardcoding / in path
- replaced string replace calls with jinja2 template module