Change the port number we run the pypi dummy server for tests

My port 8000 just does not work for some reason, and I wanted to
change it. It was kinda painful but now we can easily change which
port to run the server. Just change the Makefile and the
tests/functional/test_main.py file.
Skip local modules (from . import x) in the freeze command
Just forwarding the whole environment of the current user to the build environment. #dirtyfix. Closes #69