Added options and daemon mode to Aaptos.py

Aaptos.py can be run in two ways: as a daemon or in the console.
In both cases, the db logger can be started optionnally as a separate
thread. In console mode, the client can be started as well.