adds debug functions
small refactoring
working version of the debugger on cc2d-iphone
adds debugger.js and a sample main.js
updates auto generated files
moves debug to its own files
minor fix for compiling using c++11
debugger works with async server
changes c++11's thread for pthreads

minor changes in the server code
minor fix from a conflict when merging
minor edits
Merge remote-tracking branch 'funkaster/master'