Deprecate get and set methods on HasTraits

@rkern Here is a new PR replacing #124. It also marks get and set as deprecated with tests to assert that they log the deprecation warning.