updated gitignore to exclude idea files and added a travis CI buildfile