Feature/namespaced enums

Tracking changes Rust master:
- namespaced enums
- *_with methods deprecated for BorrowFrom system