BUG: import absolut path to style.py --> class Styler:
- [x] I have checked that this issue has not already been reported. 
- [x] I have confirmed this bug exists on the latest version of pandas.
- [ ] (optional) I have confirmed this bug exists on the master branch of pandas.


---

**Note**: 

#### Code Sample,

```python
import os
class Styler:
    absolute_dir = os.pwd()
    loader = jinja2.PackageLoader("pandas", absolute_dir +"/io/formats/templates")
    env = jinja2.Environment(loader=loader, trim_blocks=True)
    template = env.get_template("html.tpl")
```

#### Problem description

It allows including html.tpl as a local static file when styling of the dataframe is needed, and it works when is needed to transform python file into exe via pyinstaller.

#### Expected Output


#### Output of ``pd.show_versions()``

<details>

[paste the output of ``pd.show_versions()`` here leaving a blank line after the details tag]

- [ ] </details>
