Fix mdsol.Class()

Improved base(), implemented static methods, updated tests
Fixes for ajax objects
Added mdsol.data; misc tests added