Fix issues discovered by Coverity

- Fix resource leak in InspIRCd::Format()
- Explicitly set NewServices to NULL before the object it points to goes out of scope
Clean up CoreException

- Remove default constructor
- Replace virtual functions returning C strings with functions returning const std::string refs