Add in support to display pdf files. Upgrade to latest version of flatly
to gain bootstrap embed-responsive classes.
Add back in import of os.path.