Merge pull request #15 from rjw57/ubuntu-fixes

Port to Ubuntu 13.04
add GCC to travis config
use gnu++0x instead of gnu++11

This is to allow compilation on older GCCs.