Cleaned up requirejs config

Worked with Marijn to get requirejs support in tern...  With the latest
changes my requirejs config got reduced to a few lines :)