Added a function to get a file for a M3 location.
Added an isEmpty function for M3 (m3(|unknown:///|) represents an empty
m3)
Added a lookup for a location in all registered projects.
Moved setEnvironmentOptions to AST from Core to avoid cyclic dependency.