Major bugfixes and readability changes

Fixed: Changes to online friends now trigger events (for log on and log off) rather than batching on a timeout
Fixed: Global objects no longer change types
Fixed: No longer crashes if you try to send a message to a case insensitive summoner
Upgrade: Better formatting
Merge pull request #1 from trevoranderson/master

Major bugfixes and readability changes