Added rubocup to the Travis config and fixed a few issues it found.