Fixes mail settings and interceptor specs

Moves them to /core/spec/lib since both MailInterceptor and MailSettings
are classes from the /core package