removed test variable
Squashed commit of the following:

commit d44570401b08d7ac44ff182e12b5628e63ef3300
Author: Tolga Cakir <tolga@cevel.net>
Date:   Sat Nov 1 18:50:58 2014 +0100

    removed ms_compat_mode; will provide conversion script

commit 108bf028c2bf8d2e3c82ff717906bacb2efbe3de
Author: Tolga Cakir <tolga@cevel.net>
Date:   Thu Oct 30 23:12:32 2014 +0100

    converted to MIT license

commit bb6b806133032b9bcf2979df477ad17dd446f2ff
Author: Tolga Cakir <tolga@cevel.net>
Date:   Thu Oct 30 21:16:16 2014 +0100

    renamed sidewinderd.cpp to main.cpp

commit 3b7036d19fe9dd8bd19895012dc0a1b1b3b0d8bc
Author: Tolga Cakir <tolga@cevel.net>
Date:   Fri Oct 24 02:38:57 2014 +0200

    New-style daemon

commit 1ef0aa602fdbc2afc2d9162ab37f2ecf4a34e0d1
Author: Tolga Cakir <tolga@cevel.net>
Date:   Wed Oct 22 05:16:37 2014 +0200

    removed old constants

commit 137d3ef7974b23dcc39251ecaf76572c26df1f89
Author: Tolga Cakir <tolga@cevel.net>
Date:   Wed Oct 22 05:13:34 2014 +0200

    added chdir(); sidewinderd is only listening to keyboards as daemon

commit a63475cab59a31b58e8e65ed116c0307c203d708
Author: Tolga Cakir <tolga@cevel.net>
Date:   Tue Oct 21 18:40:46 2014 +0200

    very primitive daemon mode

commit f90eca2920e511db30aa4f65741313ceb6bf77db
Author: Tolga Cakir <tolga@cevel.net>
Date:   Mon Sep 22 03:53:28 2014 +0200

    signal_handler cleanup

commit 35630d13486c9612602ad69e05d45fd8023b4151
Author: Tolga Cakir <tolga@cevel.net>
Date:   Mon Sep 22 03:39:25 2014 +0200

    moved main loop to listen_key()

commit 0e4c6837f5c909aad1ff141812e15bb8e0dab570
Author: Tolga Cakir <tolga@cevel.net>
Date:   Mon Sep 22 02:50:55 2014 +0200

    basic getopt_long() setup

commit 10f83a6590f6f050e15cf915ab1b285253f36db7
Author: Tolga Cakir <tolga@cevel.net>
Date:   Mon Sep 22 01:44:26 2014 +0200

    updated libs to C++ STL

commit 934970062485f4facdbe94a8d9be121a5b7c643a
Author: Tolga Cakir <tolga@cevel.net>
Date:   Tue Sep 16 17:26:00 2014 +0200

    ported libconfig to libconfig++

commit e92e437963c8ffc8127c70d6e9832d776980d2ec
Author: Tolga Cakir <tolga@cevel.net>
Date:   Tue Sep 16 16:53:37 2014 +0200

    updated TinyXML2 to 2.2.0

commit 9bcfb90a342f7627aac9e4b42ebb731aed024848
Author: Tolga Cakir <tolga@cevel.net>
Date:   Tue Sep 16 16:51:50 2014 +0200

    removed macro_key, ported record_macro()

commit 4309753ee81b231b00a31a5116baa2ad68c05cd2
Author: Tolga Cakir <tolga@cevel.net>
Date:   Tue Sep 16 16:10:02 2014 +0200

    updating c++ port

commit 6f2b30062c77a90f1348b3fb6a6ae6c11c3aa266
Author: Tolga Cakir <tolga@cevel.net>
Date:   Sun Sep 14 21:16:33 2014 +0200

    changed file permissions; added include

commit 393d3a3d8a925ee0f5f19b7d85e10cae4e1d7fda
Author: Tolga Cakir <tolga@cevel.net>
Date:   Sun Sep 14 21:14:17 2014 +0200

    added TinyXML2

commit a5b6f7004a0fc064f26a19df01e5d11bf34c5a25
Author: Tolga Cakir <tolga@cevel.net>
Date:   Sun Sep 14 20:41:35 2014 +0200

    C++ port snapshot

commit f7f796f34505a5299ae6a331c990fb7e0255f307
Author: Tolga Cakir <tolga@cevel.net>
Date:   Wed Sep 10 06:26:10 2014 +0200

    added new classes and files

commit f732d85fa5684d61c8c9dcd03aa47717daf8df5b
Author: Tolga Cakir <tolga@cevel.net>
Date:   Wed Sep 10 06:25:18 2014 +0200

    initial cpp port