Make sure CompilationError and SyntaxError inherit from Error

This allows users to rescues all Curly exceptions by rescuing
Curly::Error.