Merge pull request #1 from fdgonthier/master

64 bit compatibility and light rework of build scripts
Merge pull request #3 from fdgonthier/master

Various compatibility bits
Merge pull request #4 from fdgonthier/master

Work progressing toward a self-installable version.
Make the database connection for KWMO and Freemium configurable.
Merge branch 'master' of https://github.com/tmbx/kas