Data access enhancements

This PR enhances the data access functions, to provide 'category', 'folder' and 'brand' substitutions when a product (or content) is defined (as Thelia 1 does ^_^ ).
Minor enhancements (CS, comments, style) are made on DataAccessFunctions.php class.

On the asset's side, a message is logged if the generated url is empty, of if the 'file' parameter of assets Smarty function (stylesheets, javascripts, images) is missing.
```filterByPrimaryKey``` never return null but an instance of ```Thelia\Model\ProductQuery``` for fluid interface.

```findPk``` return the query result. Did you use the wrong method ?