pylib: all attribute in mapping objects are now lower case

major refactoring makes the mapping classes more pythonic with
lower case attribute
tests: several fixes to attribute system tests