Fixed to_upper/lower missing an assigment on no error happening.
Added a SUCCESS_SS and changed few function's return types to make more sense.

Some functions returned only values from the enum, so I changed their return type to that enum to make that obvious.