made ApiException the base class of the other Exceptions

Makes it easier to do things like catching everything that can go wrong
with the API.
Merge pull request #28 from easybiblabs/topics/excpt-heirarchy

made ApiException the base class of the other Exceptions