Remove useless temporary variable.
Rename PS include guards to PLAYD.
Use emplace_back, not push_back.
Check device ID before creating IoCore.

This stops the network error from happening before any ID errors.
Rename PS->PLAYD on messages.h.
Replace state strings map with array.

For performance reasons, mainly.  There is no reason why this needs to be a hashmap.