added more shell code for converting personal details object to html,
added className property to the model classes, added toJson method to
Account and PersonalDetailContainer so that required methods to update
the class may be called before json conversion, updated sample personal
details container code and moved to separate class