[WFLY-1738] fix ModelNode / String comparison 

* fix the comparison between value ModelNode and SLOT_DEFAULT_VALUE string
* remove unused private method (which had a similar bug)