reviewed restservicehelper
added casing test
fixed nullpointerexception in getsubmittedobject()
added generating error entity in defaultexceptionmapper