Add auto creation of logs and data directories

Issue cobweb-eu/pcapi#18