Use traits

For an XP Framework version with a dependency on 5.4: 

* Implement root objects' methods with a trait instead of having them in both `Object` and `Throwable`