Added preliminary support for DSN. Refs #4396

@markstory @AD7six thoughts on moving this into a Trait within the Core namespace and also adding it to Cache and Log?

- [x] Cache
- [x] Database
- [x] Email
- [x] Log

The only thing left is the scheme/driver handling. I'll think about it for a bit - there has to be a smart way of handling it.