Fix #1594, dependency between rowEdit and Selection features

Each of rowEdit and selection now check for pre-existing ng-class
attribute and append to it if already there.