Loads an adapter identified by name using options hash.
Guess which adapter to use based on the directory structure or file content. Returns a symbol representing the name of the adapter to use to load the application under dir/.
[Validate]