* first cut at UI for surrender
Merge branch 'master' of github.com:buttonmen-dev/buttonmen into 174_surrender
- Set BMGame->isPrevRoundWinnerArray when surrendering
- Fixed calls to end() that failed, see php.net/end:

Please note that from version 5.0.4 ==> 5.0.5 that this function now takes an array. This will possibly break some code for instance:

<?php

echo ">> ".end(array_keys(array('x' => 'y')))."\n";

?>

which will return "Fatal error: Only variables can be passed by reference" in version <= 5.0.4 but not in 5.0.5.

If you run into this problem with nested function calls, then an easy workaround is to assign the result from array_keys (or whatever function) to an intermediary variable:

<?php

$x = array_keys(array('x' => 'y'));
echo ">> ".end($x)."\n";

?>
Merge remote-tracking branch 'cgolubi1/174_surrender' into 609_surrender_bug
Merge remote-tracking branch 'upstream/master' into 609_surrender_bug
Ensure that surrender triggers end-of-round logic, with the constraint that the winner is forced
Re-enabled rest of surrender unit tests
Fixed JSHint quote type error
Fixed checkstyle warning
Merge pull request #624 from blackshadowshade/609_surrender_bug

Surrender back and front end