Added travis-ci and fixed coding standards issues

Added travis-ci to the module and fixed coding standards issues. PHP 5.4 is temporarily disabled in the .travis.yml script to prevent errors that need to be fixed in the future.