add nscoding for SHmodel

Added NSCoding for SHModelObject
- The additional fix is getting the property name from the class structure and use those names to encode as well as decode the object.
- A test is added in the AppDelegate file also to check the usage and result of the process.