Install GMP in travis
Use secure mkstemp()
Fix byte string problem with Python3.2
Add Travis badge