Added Win / Played ratio in all stats
Refactored the generation of stats table to be a function with "where"
parameter. 
Now stats.php shows all time stats and last month stats.
Merge remote-tracking branch 'choose_remote_name/master'