Added dependency to composer.json

Rest library will be dependant on the slaxweb/exception package.
Added it as dependency.