Refactored server and finished new media index

Moved config functions and global to new pm_server_config module
Moved net related stuff to new pm_server_net module (will be moving the
web socket server there)
Pointed all local media lookups through getLocalTrackInfo, which uses
the new media index.
Finished implementing new artwork cache for local files, web client much
faster now.
Unicode issues seem to have been resolved for now.