Merge pull request #2 from l0rb/master

fixed another buildingTopList bug
add more unittests for constants.py
fixed a unit test
update constants.py - bugs found by pycharm static analysis

don't have mutable default paramas
at getCosts the c was in the wrong scope
make which and awhich accept less than 3 arguments