pull changes from master to dev on 2014-06-18

This update brings these approved pulls to the dev branch:
* User-visible:
  * #999: include swing die size as well as type in action log entries - note that this won't fix old action log entries, only new actions taken after this is made live
  * #991: "Create a new game" link on overview page should vary by context
  * #994: usernames should link to profile pages
  * #998: retain previous button limits when returning to game creation page
  * #1000: split "open games" page into games you can join vs. games you've created
  * #1001: check whether dice have been selected before confirming surrender action
  * #1002: trim username before submitting it for login
* Ideally not user-visible:
  * #997: address path mismatches causing firebug warnings in vagrant/QUnit

Database updates: none

Once this pull is merged, i will load the changes on dev.buttonweavers.com as part of #217.