Travis check for syntax and lint before spec tests

Without this patch lint and syntax checks were not being done before the
rspec tests. This ensures that the code can be parsed and passes lint
before the spec tests.
Merge pull request #39 from ghoneycutt/test_lint_and_syntax

Travis check for syntax and lint before spec tests