Added travis-ci and fixed coding standards issues

Added [travis-ci](http://travis-ci.org) to the module and fixed coding standards issues.