Updated version number to 1.3.1
Changed all SQL queries to prepared statements so that we can handle world/player names with apostrophes