Refactoring codes
Fix gemspec error

Remove no need require statement.
Add RSpec
Add test codes
Add spec_with_npm_install task
Fix trivial
Merge pull request #1 from joker1007/fix_and_refactoring

Fix some errors and refactoring