Added composer
Extracted some exceptions
Moved InvalidText exception

Some unit tests had to be updated where the expected exception
did not match
Move InvalidFeature exception
Moveed OutOf* exceptions
Remove unneeded use statements
Merge branch 'feature-move-exceptions'