Added EntityType enum and attribute vaidation

Added a EntityType enum to IThingStackEntity and updated Thing and Point
to use it.
Added validation on attributes on create and update of things and
points.