Update slim.input environment variable in cases where parse() is unable to deserialize data.
Surrounded deserializer parse call with try/catch in cases where XML can not be parsed and throws exceptions.
Moved the serializer exists conditional check before the serializer setApp call.

If serializer does not exist, call_user_func() fails in cases where contentType is invalid.