Jer's server id request

I have updated what I was able to find for database interactions, as well as the front-end interface.

The main issue I had was pulling and "int" out of the config and passing the int to the format query.
I am also a little interested if the table create query's will work properly, the duel primary key through a wrench in the current system.

I also don't have a server of the build, so I have not had a change to test the code.
My initial reaction was that there's no need to alter the table, since there's already backwards-incompatible changes coming. 

However... I guess it might be worth the effort to get a add column if not exists thing for those, even though it looks horrific to do in MySQL - it's probably still worth the effort for the sake of most server administrators. And in that case, it would indeed be wise to add the primary key this way.