Overhauled initGameList function

Got the button states working based on the tracked games for each user
working, not quite perfect and I will be improving this so a user can't
push duplicate items to the db hopefully and would like to find a
better solution to the kind of ugly markup it creates for the classes,
but the general purpose is fit for right now.