* 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
* always report reroll values of defending dice during trip attacks
* add white-space: nowrap to player and opponent die recipes
* in the UI, sort attacks by name, and put a blank value before surrender
* modify action logging to correctly handle surrender in both attack and round-end
* fix grunt issues
* make checkstyle happier
* move all references to the player and opponent color into Game.js, in preparation for making these user-defined variables
* set background color for the element describing the next action to be taken
* update recipe for EDG
* clean up the player/opponent battle mat divs, and give the combined mat more horizontal padding
* add a "config" table to the database, and set the site_type value to "development" by default
* if site_type is production, get_all_button_names() should not return buttons with unimplemented skills
* UI should only print the warning about choosing unimplemented buttons if there are any