Update travis to check quality of modified files.
Merge pull request #803 from BlaineSch/feature/qualityChecking

Update travis to check quality of modified files.
Remove switch statement on `invokeMethod` calls.