Enabling Coveralls

Applying minor changes on code and configuration files to make Coveralls work properly.