Moved definition of possible edge weights

With making the edge weights a member we don't have to do it every
time we call keeperWeight(), which seems to happen quite often.
Some milliseconds performance gain :)
Reverting revert...
Initial travis.yml