validate attributes against basestring

- need to update attribute validation to test against basestring
instead of str
- drop use of openstack logger

Change-Id: I2167cf8e468c0e932c476238120d768e5d4d443f
Fixes: bug1209387