Changes to composer.json and the ApiException class

- reverted the composer homepage to the correct entry
- Provided the ability for the api exception to receive an array a param