Added travis modes for testing optimized and debug builds.