small rework of string::operator*
Rework slice to normalize slice writing and avoid code duplication
Remove compilation warning for truncate function
Remove compilation warning about numpy depreciate API
Merge pull request #132 from pbrunet/slice

Rework slice to avoid redundancy in the code + warnings removed