Add tern-project file
Add --path file, which is the base path when using --amd and add tests for it
Fixing wrong paths in the dependency array for the --amd mode.
Merge branch 'fix-amd-paths'