turn enum CapellaError into enum class Capella::Error

leaving CAP_NO_ERROR and CAP_EOF to not conflict with system headers