Merge pull request #7 from yanickrochon/master

Major refactor. Fix issues #3, #4, #5, and #8
removing tgz and swp
adjusting local install scripts to understand tgz after bump version
should resolve path before validate if had pathtraversion in cases of calling server with relative path like 'static-server .'
adding travis-ci to the project
Build sucesfully working with travis #2
Separated server code from executable cli script
Added istanbul + mocha testing and coverage. Added .npmignore.