Merge pull request #1 from seajs/master

sync with seajs master
Add test specs for node compatible
Add test specs for node compatible
Tweaking code style
Remove seajs.events property
Improve dirname(path)
Tweak code style
Simplify regexp for parseVars
Tweak code style
Add hasOwn method
Add .js extension for require
Remove specs for module.load function
Modify specs for public api
Exit on fail
Exit on fail
Simplify alias logic
Add parsePaths function
Improve parsePaths function
Add specs for parsePaths
Tweak code style