travis-ci addition and coding standards fixes

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