Follow symlinks when resolving theme paths.

Closes #4225
* If a theme is symlinked in the themes directory, follow
  the symlink so that the theme object is populated correctly.
* Only do the fallback loading of theme data in the validations
  module if it doesn't exist in config.