Add gitignore
Add travis hooks and npm script for running tests