ext: Add Extension base class
tests: Test existing exception classes
ext: Add ExtensionError exception class
ext: Support multiple frontends/backends in an extension
Merge pull request #372 from jodal/feature/add-extension-superclass

Add extension superclass and exception