Implemented Command Line Tools in cli_testing branch

As proposed in https://github.com/Frug/AJAX-Chat/pull/177#issuecomment-53070008 here is the new pull request in branch cli.

The "make index.php unfunctional by default" was an ashamed mistake by me, so i fixed it (and i really needed some minutes to figure this out ;-)). 
Hope this pull request is without errors