Fixed issue causing API-related paths to be incorrectly routed to dojo, core, or client dirs. Refs #3