Return exit code when running tests.

The exit code is needed by Travis so we can tell if the tests were successful
or not.

I left run-tests.py unaltered on purpose since I am not sure if the return code will break Jenkins. Once this commit is in, I will alter run-tests.py in pulp_openstack to take advantage of the return code.