ENYO-1020: add `ares.basename()` and `ares.dirname()` utilities

Enyo-DCO-1.1-Signed-off-by: Francois-Xavier KOWALSKI <francois-xavier.kowalski@hp.com>