* 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 branch '605_dizzy_disabled' of https://github.com/blackshadowshade/buttonmen into 605_dizzy_ui
* modify frontend to assume focus dice have the property "dizzy" rather than "disabled", and to interpret "disabled" as a property of chance dice if it arises
Merge branch 'master' of github.com:buttonmen-dev/buttonmen into 605_dizzy_ui
* json_decode as called can't decode an empty associative array correctly, so force callers to always fill in something in the params array
Merge pull request #620 from cgolubi1/619_decline_focus_log

always fill in some values in the action log params array to make json_decode happy
Merge pull request #618 from cgolubi1/605_dizzy_ui

make necessary UI changes for the dizzy/disabled swap
some foglio, sluggy, samurai, freaks, lords, bar mitzvah, lunch money
fixed barmitzvah boy
Merge pull request #622 from ManvilleFog/138_button_images

138 button images
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