Added travis-ci and fixed coding standards

Added travis-ci to the module and fixed coding standards issues.