Melee 'facing' code updated to client derived function

These new functions are derived from the client
The need was because the old function sometimes didn't line
up with the client generated messages.
Added pointer check
Fix #150
Test fix for 'random' zone crashes..particularly relating to MGB use.
SQL file rename (added '0')
Fix for test... (conn_state != client_state)