Adds Python 3.4 to travis configuration

Also, fixes compilation warnings.