Generalize closure implementation

The `bind' call can now create closure of any size.
Merge pull request #133 from serge-sans-paille/closure

Generalize closure implementation
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