Added static user database generated from the database with the tool
supplied in the tools folder (user_db_to_json.php).
This has started to fail when I added a usage (constant).
Removing for now, and considering using an unbounded string instead.
Updated the handlers to use groups instead of static boolean flags.
Internally, this is still the preferred method of determining
rights.
Also, added logic for handling (early) whether the clients are
authenticated or not.
Updated to correspond to changes in the database schema.
Removed non-used fields.
Added the both destination and caller id fields to calls.