Update Alliance.php

Changed tick method slightly to account for defense from the other alliance. In addition I also moved the getDefense() calls to a newly made and implemented method getTickDefense().