code cleanup and testing
second commit with initial tests
 more progress on the tdd part
testing of client_.js done
new boolean function in client_.js based off the old function
 test_Server breaks when user disconnect, something to do with circular structure conversion to JSON
 fresh approach again
 friend list function is useless
 firend list problem solved but code is a mess :(