Ensure data dir is created as parent to licenses dir.

The `development.ini` file defines the following directory:
```
licenses_cache_dir = %(here)s/data/licenses
```
The `samplesdb.licenses.LicensesFactory` class fails when trying to create the `licenses` dir because the parent `data` dir doesn't exist yet. Change made to also create the `data` dir.