Fix unresolved import of FigoException in models

This resolves the missing import of FigoException in the models module. In order to avoid a circular dependency between the figo and models modules, the exception was refactored out into its own package.

NOTE that this pull request is built on top of #1, so it might be reasonable to merge that one first.