Add rakefile, run syntax and lint tests in travis
Also add gitignore