Adding a string based group field.
Revert "Adding a string based group field."

This reverts commit 8b05baace2d5ae7e43488ec44159c637d3fcb666.
Changed menu code to be driven by the class rather than testing for
class instanceo0f in filter.
Improvement to user preferences to include all refdata properties of the
user.
Adding parameter to isTypeEditable
Fixed preference generaion.
Made the refdata name editable.
Improved menu generation to take note of ordering.
Used new menu generation
use className instead of class.name as className is deproxied first.