Add spm support
Merge pull request #13 from spmjs/master

Add spm support