Added exception, completed several TODOs
Resolved todo
Rework setList functions to use internal add function.
Enforce $typeClass implements TypeInterface in SharedTypeFactory constructor.
Added test for invalid class passed to SharedFactory.
Split parse method into distinct methods for application & user-agent values.
Add tests for handling of error states.
Duplicate language invalid parse user & app tests for encoding & charset.
Throw exception on encountering invalid mime types, tests