Fix NullPointerException with setShortName(null)
(cherry picked from commit 8a9c5f8)
Fix exception with setShortName("") (empty string)
Merge pull request #1662 from Volune/fix_set_shortname_null

Fix exceptions in OClassImpl.setShortName