Add seajs.dir property
Add specs for seajs.dir
Fix a bug for plugin loading. close #652
Merge branch 'master' into gh-pages