lib: add String::relpath for advanced path manipulation

Signed-off-by: Jean Privat <jean@pryen.org>