Merge pull request #29 from catwood/master

APE_Server segfault and memory leak fixes.
Removed new user log

A config could be added if required by some
Added debug for script that failed to load in the log

This info is usefull if a syntax error is found in a script file. When
using the demon, this could not catched.
Added test scripts
Ape.log not showing in console

Data passed to the "Ape.log()" function could fail to show up in
console while not in debug mode since the line wasn't ending with "\n".
Constructor not returning an object

Caused MySQL, custom pipes and Socket server/client to fail
Pipe.getPropertie crash APE

Would chrash with "free(): invalid pointer: " otherwise.

Now looks the same as "apeuser_sm_get_property" and
"apechannel_sm_get_property". Maybe that's was not the intended
purpose, but I don't know SpiderMonkey and C well enough to say. All I
know is that it's working now lol.
Corrupted param passed to mysac_setup

Changed the way the arguments are passed to mysac_setup as suggested by
Peter Reijnders.

Don't know why, but it works.
Leftover JS_free...
Revert "Leftover JS_free..."

This reverts commit 53f48734c035127015781ddc20a795dc7409d85a.
Revert "Corrupted param passed to mysac_setup"

This reverts commit 753b91587667cc3b7dd58832e844ab24b82337cc.
New fix for corrupted param passed to mysac_setup
Merge pull request #31 from lcharette/master

MySQL bug correction
Updated and expanded Readme
Updated for GitHub markup
Updated Make install

Based on Lexcelsior and updated. Put everything in
/usr/share/APE_Server

I don't think this should be added to build.sh, but I think it's nice
to have if detailled in the doc/wiki.
Correction for "/usr/bin/ld: cannot find -lmysac"

udns must be compile first it seems
Merge pull request #32 from lcharette/master

Updated doc & install
Update json.c

a cast to unsigned char was needed on my 64 bit machine to handle utf8-encoded strings correctly.
Merge pull request #36 from svogl/patch-1

Update json.c