Make require behave again
Make require behave again

Calls to require should stay within the ArangoDB paths or Foxx service root.

The require cache for Foxx services should be service specific.

Reloading a service's controllers should clear the service's require cache.

See #1577.

graetzer/arangodb,Simran-B/arangodb,wiltonlazary/arangodb,thurt/arangodb,graetzer/arangodb,wiltonlazary/arangodb,hkernbach/arangodb,wiltonlazary/arangodb,graetzer/arangodb,arangodb/arangodb,Simran-B/arangodb,baslr/ArangoDB,fceller/arangodb,baslr/ArangoDB,thurt/arangodb,wiltonlazary/arangodb,hkernbach/arangodb,m0ppers/arangodb,joerg84/arangodb,Simran-B/arangodb,hkernbach/arangodb,joerg84/arangodb,joerg84/arangodb,hkernbach/arangodb,arangodb/arangodb,Simran-B/arangodb,graetzer/arangodb,joerg84/arangodb,thurt/arangodb,joerg84/arangodb,fceller/arangodb,thurt/arangodb,m0ppers/arangodb,wiltonlazary/arangodb,m0ppers/arangodb,graetzer/arangodb,joerg84/arangodb,hkernbach/arangodb,m0ppers/arangodb,hkernbach/arangodb,m0ppers/arangodb,joerg84/arangodb,graetzer/arangodb,thurt/arangodb,fceller/arangodb,fceller/arangodb,arangodb/arangodb,Simran-B/arangodb,joerg84/arangodb,hkernbach/arangodb,joerg84/arangodb,baslr/ArangoDB,baslr/ArangoDB,baslr/ArangoDB,graetzer/arangodb,m0ppers/arangodb,graetzer/arangodb,thurt/arangodb,fceller/arangodb,baslr/ArangoDB,arangodb/arangodb,wiltonlazary/arangodb,m0ppers/arangodb,graetzer/arangodb,graetzer/arangodb,graetzer/arangodb,joerg84/arangodb,hkernbach/arangodb,Simran-B/arangodb,joerg84/arangodb,baslr/ArangoDB,baslr/ArangoDB,hkernbach/arangodb,joerg84/arangodb,thurt/arangodb,wiltonlazary/arangodb,joerg84/arangodb,fceller/arangodb,fceller/arangodb,arangodb/arangodb,hkernbach/arangodb,baslr/ArangoDB,thurt/arangodb,Simran-B/arangodb,fceller/arangodb,m0ppers/arangodb,m0ppers/arangodb,baslr/ArangoDB,m0ppers/arangodb,fceller/arangodb,baslr/ArangoDB,thurt/arangodb,m0ppers/arangodb,arangodb/arangodb,graetzer/arangodb,thurt/arangodb,Simran-B/arangodb,graetzer/arangodb,arangodb/arangodb,hkernbach/arangodb,m0ppers/arangodb,arangodb/arangodb,m0ppers/arangodb,baslr/ArangoDB,hkernbach/arangodb,baslr/ArangoDB,joerg84/arangodb,hkernbach/arangodb,baslr/ArangoDB,hkernbach/arangodb,Simran-B/arangodb,fceller/arangodb,Simran-B/arangodb,wiltonlazary/arangodb,graetzer/arangodb