update cmake to find lua 5.2 and miniupnpc

Make cmake executable by calling cmake path/to/srcdir instead of calling
cmake.sh in build directory.
Add TravisCI config file