Build and install nlopt from source in Travis-CI test

The Ubuntu version of Travis-CI is 12.04 LTS but debian package for nlopt is not deliverd in the version.