Fix for inspiration and group buffs

Fix for inspiration and group buffs, they used distance check with
different coordinate systems. Now watching and inspiration buff is
possible.
fix for not being able to reuse or delete char

Fix for not being able to reuse or delete char after creation. All chars
were only available once as the query to the result set used wrong field
name to get the char id.
Merge pull request #1077 from voronius/master

2 Small fixes, one for a query and the other for the inspiration buffs